pub struct TerminalBytes(pub Vec<u8>);Expand description
A chunk of PTY traffic, base64 on the wire and bytes in memory.
Tuple Fields§
§0: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for TerminalBytes
impl Clone for TerminalBytes
Source§fn clone(&self) -> TerminalBytes
fn clone(&self) -> TerminalBytes
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 TerminalBytes
impl Debug for TerminalBytes
Source§impl Default for TerminalBytes
impl Default for TerminalBytes
Source§fn default() -> TerminalBytes
fn default() -> TerminalBytes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TerminalBytes
impl<'de> Deserialize<'de> for TerminalBytes
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TerminalBytes
Source§impl PartialEq for TerminalBytes
impl PartialEq for TerminalBytes
Source§impl Serialize for TerminalBytes
impl Serialize for TerminalBytes
impl StructuralPartialEq for TerminalBytes
Auto Trait Implementations§
impl Freeze for TerminalBytes
impl RefUnwindSafe for TerminalBytes
impl Send for TerminalBytes
impl Sync for TerminalBytes
impl Unpin for TerminalBytes
impl UnsafeUnpin for TerminalBytes
impl UnwindSafe for TerminalBytes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.