pub struct SessionCloseOutcome {
pub session: SessionRef,
pub outcome: SessionCloseDisposition,
pub error: Option<ProtocolError>,
pub local_error: Option<ProtocolError>,
}Fields§
§session: SessionRef§outcome: SessionCloseDisposition§error: Option<ProtocolError>§local_error: Option<ProtocolError>Trait Implementations§
Source§impl Clone for SessionCloseOutcome
impl Clone for SessionCloseOutcome
Source§fn clone(&self) -> SessionCloseOutcome
fn clone(&self) -> SessionCloseOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionCloseOutcome
impl Debug for SessionCloseOutcome
Source§impl<'de> Deserialize<'de> for SessionCloseOutcome
impl<'de> Deserialize<'de> for SessionCloseOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SessionCloseOutcome
impl PartialEq for SessionCloseOutcome
Source§impl Serialize for SessionCloseOutcome
impl Serialize for SessionCloseOutcome
impl Eq for SessionCloseOutcome
impl StructuralPartialEq for SessionCloseOutcome
Auto Trait Implementations§
impl Freeze for SessionCloseOutcome
impl RefUnwindSafe for SessionCloseOutcome
impl Send for SessionCloseOutcome
impl Sync for SessionCloseOutcome
impl Unpin for SessionCloseOutcome
impl UnsafeUnpin for SessionCloseOutcome
impl UnwindSafe for SessionCloseOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more