pub struct NegotiatedStream {
stream_type: String,
index: i32,
codec: Option<String>,
is_default: bool,
}Fields§
§stream_type: String§index: i32§codec: Option<String>§is_default: boolThe track the server serves when the client pins none.
Trait Implementations§
Source§impl Debug for NegotiatedStream
impl Debug for NegotiatedStream
Source§impl<'de> Deserialize<'de> for NegotiatedStream
impl<'de> Deserialize<'de> for NegotiatedStream
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
Auto Trait Implementations§
impl Freeze for NegotiatedStream
impl RefUnwindSafe for NegotiatedStream
impl Send for NegotiatedStream
impl Sync for NegotiatedStream
impl Unpin for NegotiatedStream
impl UnsafeUnpin for NegotiatedStream
impl UnwindSafe for NegotiatedStream
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