pub enum HttpStreamKind {
Server,
Client,
Bidi,
}Variants§
Trait Implementations§
Source§impl Clone for HttpStreamKind
impl Clone for HttpStreamKind
Source§fn clone(&self) -> HttpStreamKind
fn clone(&self) -> HttpStreamKind
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 HttpStreamKind
impl Debug for HttpStreamKind
Source§impl<'de> Deserialize<'de> for HttpStreamKind
impl<'de> Deserialize<'de> for HttpStreamKind
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 HttpStreamKind
impl PartialEq for HttpStreamKind
Source§fn eq(&self, other: &HttpStreamKind) -> bool
fn eq(&self, other: &HttpStreamKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HttpStreamKind
impl Serialize for HttpStreamKind
impl Copy for HttpStreamKind
impl Eq for HttpStreamKind
impl StructuralPartialEq for HttpStreamKind
Auto Trait Implementations§
impl Freeze for HttpStreamKind
impl RefUnwindSafe for HttpStreamKind
impl Send for HttpStreamKind
impl Sync for HttpStreamKind
impl Unpin for HttpStreamKind
impl UnsafeUnpin for HttpStreamKind
impl UnwindSafe for HttpStreamKind
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