pub enum DisconnectReason {
LocalRequestedLogout,
RemoteRequestedLogout,
UserForcedDisconnect,
MsgSeqNumNotFound,
MsgSeqNumTooLow,
InvalidLogonState,
Disconnected,
IoError,
}
Expand description
Disconnection reasons.
Variants§
LocalRequestedLogout
Logout requested locally
RemoteRequestedLogout
Logout requested remotely
UserForcedDisconnect
Disconnect forced by User code
MsgSeqNumNotFound
Received message without MsgSeqNum
MsgSeqNumTooLow
Received message with MsgSeqNum too low
InvalidLogonState
Invalid logon state
Disconnected
Remote side disconnected
IoError
I/O Error
Trait Implementations§
source§impl Clone for DisconnectReason
impl Clone for DisconnectReason
source§fn clone(&self) -> DisconnectReason
fn clone(&self) -> DisconnectReason
Returns a copy 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 DisconnectReason
impl Debug for DisconnectReason
impl Copy for DisconnectReason
Auto Trait Implementations§
impl RefUnwindSafe for DisconnectReason
impl Send for DisconnectReason
impl Sync for DisconnectReason
impl Unpin for DisconnectReason
impl UnwindSafe for DisconnectReason
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