pub struct SessionEnd {
pub reason: TerminationReason,
pub last_connection: Option<ConnectionEnd>,
}Expand description
Terminal result for the logical connection session, optionally including details for its last established physical connection.
Fields§
§reason: TerminationReasonMain reason the session stopped and will not reconnect.
last_connection: Option<ConnectionEnd>End information for the last established connection; None if there is no connection end record to retain.
Trait Implementations§
Source§impl Clone for SessionEnd
impl Clone for SessionEnd
Auto Trait Implementations§
impl !RefUnwindSafe for SessionEnd
impl !UnwindSafe for SessionEnd
impl Freeze for SessionEnd
impl Send for SessionEnd
impl Sync for SessionEnd
impl Unpin for SessionEnd
impl UnsafeUnpin for SessionEnd
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