pub struct InitialMaxStreamDataBidiLocal(_);Implementations
sourceimpl InitialMaxStreamDataBidiLocal
impl InitialMaxStreamDataBidiLocal
sourcepub const RECOMMENDED: Self = Self(InitialMaxData::RECOMMENDED.0)
pub const RECOMMENDED: Self = Self(InitialMaxData::RECOMMENDED.0)
Tuned for 150Mbps throughput with a 100ms RTT
Methods from Deref<Target = VarInt>
Methods from Deref<Target = u64>
Trait Implementations
sourceimpl Clone for InitialMaxStreamDataBidiLocal
impl Clone for InitialMaxStreamDataBidiLocal
sourcefn clone(&self) -> InitialMaxStreamDataBidiLocal
fn clone(&self) -> InitialMaxStreamDataBidiLocal
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InitialMaxStreamDataBidiLocal
impl Debug for InitialMaxStreamDataBidiLocal
sourceimpl Deref for InitialMaxStreamDataBidiLocal
impl Deref for InitialMaxStreamDataBidiLocal
sourceimpl Ord for InitialMaxStreamDataBidiLocal
impl Ord for InitialMaxStreamDataBidiLocal
sourceimpl PartialEq<InitialMaxStreamDataBidiLocal> for InitialMaxStreamDataBidiLocal
impl PartialEq<InitialMaxStreamDataBidiLocal> for InitialMaxStreamDataBidiLocal
sourcefn eq(&self, other: &InitialMaxStreamDataBidiLocal) -> bool
fn eq(&self, other: &InitialMaxStreamDataBidiLocal) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InitialMaxStreamDataBidiLocal) -> bool
fn ne(&self, other: &InitialMaxStreamDataBidiLocal) -> bool
This method tests for !=.
sourceimpl PartialOrd<InitialMaxStreamDataBidiLocal> for InitialMaxStreamDataBidiLocal
impl PartialOrd<InitialMaxStreamDataBidiLocal> for InitialMaxStreamDataBidiLocal
sourcefn partial_cmp(&self, other: &InitialMaxStreamDataBidiLocal) -> Option<Ordering>
fn partial_cmp(&self, other: &InitialMaxStreamDataBidiLocal) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl PartialOrd<VarInt> for InitialMaxStreamDataBidiLocal
impl PartialOrd<VarInt> for InitialMaxStreamDataBidiLocal
sourcefn partial_cmp(&self, value: &VarInt) -> Option<Ordering>
fn partial_cmp(&self, value: &VarInt) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl TransportParameter for InitialMaxStreamDataBidiLocal
impl TransportParameter for InitialMaxStreamDataBidiLocal
type CodecValue = VarInt
type CodecValue = VarInt
Associated type for decoding/encoding the TransportParameter
sourcefn from_codec_value(value: Self::CodecValue) -> Self
fn from_codec_value(value: Self::CodecValue) -> Self
Create a TransportParameter from the CodecValue
sourcefn try_into_codec_value(&self) -> Option<&Self::CodecValue>
fn try_into_codec_value(&self) -> Option<&Self::CodecValue>
Attempts to convert the TransportParameter into the CodecValue
sourcefn default_value() -> Self
fn default_value() -> Self
Returns the default value for the TransportParameter
This is used instead of Default::default so it is
easily overridable Read more
sourceimpl TransportParameterValidator for InitialMaxStreamDataBidiLocal
impl TransportParameterValidator for InitialMaxStreamDataBidiLocal
sourcefn validate(self) -> Result<Self, DecoderError>
fn validate(self) -> Result<Self, DecoderError>
Validates that the transport parameter is in a valid state
sourceimpl TryFrom<VarInt> for InitialMaxStreamDataBidiLocal
impl TryFrom<VarInt> for InitialMaxStreamDataBidiLocal
sourceimpl TryFrom<u64> for InitialMaxStreamDataBidiLocal
impl TryFrom<u64> for InitialMaxStreamDataBidiLocal
impl Copy for InitialMaxStreamDataBidiLocal
impl Eq for InitialMaxStreamDataBidiLocal
impl StructuralEq for InitialMaxStreamDataBidiLocal
impl StructuralPartialEq for InitialMaxStreamDataBidiLocal
Auto Trait Implementations
impl RefUnwindSafe for InitialMaxStreamDataBidiLocal
impl Send for InitialMaxStreamDataBidiLocal
impl Sync for InitialMaxStreamDataBidiLocal
impl Unpin for InitialMaxStreamDataBidiLocal
impl UnwindSafe for InitialMaxStreamDataBidiLocal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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