pub enum ClientContext {
Outside,
Nested,
}Expand description
The client context inferred from the $RMUX environment variable.
Variants§
Outside
No $RMUX variable is set - the client is outside any multiplexer.
Nested
$RMUX is set - the client is inside an existing multiplexer 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 moreSource§impl Debug for ClientContext
impl Debug 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 Copy for ClientContext
impl Eq for ClientContext
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