pub enum StreamDirection {
Upload,
Download,
Bidirectional,
}Expand description
Stream direction.
Variants§
Trait Implementations§
Source§impl Clone for StreamDirection
impl Clone for StreamDirection
Source§fn clone(&self) -> StreamDirection
fn clone(&self) -> StreamDirection
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 StreamDirection
impl Debug for StreamDirection
Source§impl Default for StreamDirection
impl Default for StreamDirection
Source§fn default() -> StreamDirection
fn default() -> StreamDirection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamDirection
impl<'de> Deserialize<'de> for StreamDirection
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 Hash for StreamDirection
impl Hash for StreamDirection
Source§impl PartialEq for StreamDirection
impl PartialEq for StreamDirection
Source§fn eq(&self, other: &StreamDirection) -> bool
fn eq(&self, other: &StreamDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamDirection
impl Serialize for StreamDirection
impl Copy for StreamDirection
impl Eq for StreamDirection
impl StructuralPartialEq for StreamDirection
Auto Trait Implementations§
impl Freeze for StreamDirection
impl RefUnwindSafe for StreamDirection
impl Send for StreamDirection
impl Sync for StreamDirection
impl Unpin for StreamDirection
impl UnsafeUnpin for StreamDirection
impl UnwindSafe for StreamDirection
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