pub enum SessionConnectMode {
NewSession(NodeId),
ReactivatedSession(NodeId),
}
Expand description
When the session connects to the server, this describes how that happened, whether a new session was created, or an old session was reactivated.
Variants§
NewSession(NodeId)
A new session was created with session ID given by the inner NodeId
ReactivatedSession(NodeId)
An old session was reactivated with session ID given by the inner NodeId
Trait Implementations§
Source§impl Clone for SessionConnectMode
impl Clone for SessionConnectMode
Source§fn clone(&self) -> SessionConnectMode
fn clone(&self) -> SessionConnectMode
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 moreAuto Trait Implementations§
impl Freeze for SessionConnectMode
impl RefUnwindSafe for SessionConnectMode
impl Send for SessionConnectMode
impl Sync for SessionConnectMode
impl Unpin for SessionConnectMode
impl UnwindSafe for SessionConnectMode
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