pub enum TerminalMode {
Pipe,
Pty,
}Expand description
Enumerates the finite terminal mode cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Pipe
Use this variant when the contract needs to represent pipe; selecting it has no side effect by itself.
Pty
Use this variant when the contract needs to represent pty; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for TerminalMode
impl Clone for TerminalMode
Source§fn clone(&self) -> TerminalMode
fn clone(&self) -> TerminalMode
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 TerminalMode
impl Debug for TerminalMode
Source§impl<'de> Deserialize<'de> for TerminalMode
impl<'de> Deserialize<'de> for TerminalMode
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 TerminalMode
impl PartialEq for TerminalMode
Source§fn eq(&self, other: &TerminalMode) -> bool
fn eq(&self, other: &TerminalMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TerminalMode
impl Serialize for TerminalMode
impl Eq for TerminalMode
impl StructuralPartialEq for TerminalMode
Auto Trait Implementations§
impl Freeze for TerminalMode
impl RefUnwindSafe for TerminalMode
impl Send for TerminalMode
impl Sync for TerminalMode
impl Unpin for TerminalMode
impl UnsafeUnpin for TerminalMode
impl UnwindSafe for TerminalMode
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