Enum ssh2::ExtensiblePtyModeOpcode
source · pub enum ExtensiblePtyModeOpcode {
Mode(PtyModeOpcode),
Extended(u8),
}
Expand description
An opcode for setting a Pty terminal mode
Variants§
Mode(PtyModeOpcode)
Use one of the modes specified by RFC 4250
Extended(u8)
Use a mode not reflected by RFC 4250
Trait Implementations§
source§impl Clone for ExtensiblePtyModeOpcode
impl Clone for ExtensiblePtyModeOpcode
source§fn clone(&self) -> ExtensiblePtyModeOpcode
fn clone(&self) -> ExtensiblePtyModeOpcode
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 moresource§impl Debug for ExtensiblePtyModeOpcode
impl Debug for ExtensiblePtyModeOpcode
source§impl From<PtyModeOpcode> for ExtensiblePtyModeOpcode
impl From<PtyModeOpcode> for ExtensiblePtyModeOpcode
source§fn from(op: PtyModeOpcode) -> ExtensiblePtyModeOpcode
fn from(op: PtyModeOpcode) -> ExtensiblePtyModeOpcode
Converts to this type from the input type.
source§impl From<u8> for ExtensiblePtyModeOpcode
impl From<u8> for ExtensiblePtyModeOpcode
source§fn from(op: u8) -> ExtensiblePtyModeOpcode
fn from(op: u8) -> ExtensiblePtyModeOpcode
Converts to this type from the input type.
source§impl PartialEq<ExtensiblePtyModeOpcode> for ExtensiblePtyModeOpcode
impl PartialEq<ExtensiblePtyModeOpcode> for ExtensiblePtyModeOpcode
source§fn eq(&self, other: &ExtensiblePtyModeOpcode) -> bool
fn eq(&self, other: &ExtensiblePtyModeOpcode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.