pub enum ClientContext {
Outside,
Nested,
}Expand description
The client context inferred from inherited multiplexer environment.
Variants§
Outside
No multiplexer variable is set - the client is outside any multiplexer.
Nested
A multiplexer variable is set - the client is inside a session.
Implementations§
Trait Implementations§
Source§impl Clone for ClientContext
impl Clone for ClientContext
Source§fn clone(&self) -> ClientContext
fn clone(&self) -> ClientContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClientContext
Source§impl Debug for ClientContext
impl Debug for ClientContext
impl Eq for ClientContext
Source§impl PartialEq for ClientContext
impl PartialEq for ClientContext
Source§fn eq(&self, other: &ClientContext) -> bool
fn eq(&self, other: &ClientContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientContext
Auto Trait Implementations§
impl Freeze for ClientContext
impl RefUnwindSafe for ClientContext
impl Send for ClientContext
impl Sync for ClientContext
impl Unpin for ClientContext
impl UnsafeUnpin for ClientContext
impl UnwindSafe for ClientContext
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