pub enum SessionState {
Idle,
Disconnected,
Connecting,
Connected,
Reconnecting,
Failed(String),
}
Expand description
Session state
Variantsยง
Idle
Session is idle (ready but not actively processing)
Disconnected
Session is disconnected
Connecting
Session is connecting
Connected
Session is connected and active
Reconnecting
Session is reconnecting after a failure
Failed(String)
Session has failed and cannot reconnect
Trait Implementationsยง
Sourceยงimpl Clone for SessionState
impl Clone for SessionState
Sourceยงfn clone(&self) -> SessionState
fn clone(&self) -> SessionState
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 SessionState
impl Debug for SessionState
Sourceยงimpl PartialEq for SessionState
impl PartialEq for SessionState
impl StructuralPartialEq for SessionState
Auto Trait Implementationsยง
impl Freeze for SessionState
impl RefUnwindSafe for SessionState
impl Send for SessionState
impl Sync for SessionState
impl Unpin for SessionState
impl UnwindSafe for SessionState
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