pub enum ControlMode {
Plain,
ControlControl,
}Expand description
tmux-compatible control-mode transport flavor negotiated over the detached bincode RPC channel.
Variants§
Implementations§
Source§impl ControlMode
impl ControlMode
Sourcepub const fn from_count(count: u8) -> Self
pub const fn from_count(count: u8) -> Self
Returns the tmux top-level -C count as parsed by Clap.
Sourcepub const fn is_control_control(self) -> bool
pub const fn is_control_control(self) -> bool
Returns true when the client requested tmux control-control mode.
Trait Implementations§
Source§impl Clone for ControlMode
impl Clone for ControlMode
Source§fn clone(&self) -> ControlMode
fn clone(&self) -> ControlMode
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 ControlMode
impl Debug for ControlMode
Source§impl<'de> Deserialize<'de> for ControlMode
impl<'de> Deserialize<'de> for ControlMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ControlMode
impl PartialEq for ControlMode
Source§fn eq(&self, other: &ControlMode) -> bool
fn eq(&self, other: &ControlMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ControlMode
impl Serialize for ControlMode
impl Copy for ControlMode
impl Eq for ControlMode
impl StructuralPartialEq for ControlMode
Auto Trait Implementations§
impl Freeze for ControlMode
impl RefUnwindSafe for ControlMode
impl Send for ControlMode
impl Sync for ControlMode
impl Unpin for ControlMode
impl UnsafeUnpin for ControlMode
impl UnwindSafe for ControlMode
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