Enum ssh2_patched::ExtendedData
source · [−]pub enum ExtendedData {
Normal,
Merge,
Ignore,
}
Expand description
How to handle extended data streams, such as stderr
Variants
Normal
Queue extended data for eventual reading
Merge
Treat extended data and ordinary data the same. Merge all substreams such that calls to read will pull from all substreams on a first-in/first-out basis.
Ignore
Discard all extended data as it arrives.
Trait Implementations
sourceimpl Clone for ExtendedData
impl Clone for ExtendedData
sourcefn clone(&self) -> ExtendedData
fn clone(&self) -> ExtendedData
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExtendedData
impl Debug for ExtendedData
impl Copy for ExtendedData
Auto Trait Implementations
impl RefUnwindSafe for ExtendedData
impl Send for ExtendedData
impl Sync for ExtendedData
impl Unpin for ExtendedData
impl UnwindSafe for ExtendedData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more