pub struct InitialMaxStreamDataBidiRemote(_);Implementations
sourceimpl InitialMaxStreamDataBidiRemote
impl InitialMaxStreamDataBidiRemote
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 InitialMaxStreamDataBidiRemote
impl Clone for InitialMaxStreamDataBidiRemote
sourcefn clone(&self) -> InitialMaxStreamDataBidiRemote
fn clone(&self) -> InitialMaxStreamDataBidiRemote
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 Ord for InitialMaxStreamDataBidiRemote
impl Ord for InitialMaxStreamDataBidiRemote
sourceimpl PartialEq<InitialMaxStreamDataBidiRemote> for InitialMaxStreamDataBidiRemote
impl PartialEq<InitialMaxStreamDataBidiRemote> for InitialMaxStreamDataBidiRemote
sourcefn eq(&self, other: &InitialMaxStreamDataBidiRemote) -> bool
fn eq(&self, other: &InitialMaxStreamDataBidiRemote) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InitialMaxStreamDataBidiRemote) -> bool
fn ne(&self, other: &InitialMaxStreamDataBidiRemote) -> bool
This method tests for !=.
sourceimpl PartialOrd<InitialMaxStreamDataBidiRemote> for InitialMaxStreamDataBidiRemote
impl PartialOrd<InitialMaxStreamDataBidiRemote> for InitialMaxStreamDataBidiRemote
sourcefn partial_cmp(
&self,
other: &InitialMaxStreamDataBidiRemote
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &InitialMaxStreamDataBidiRemote
) -> 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 InitialMaxStreamDataBidiRemote
impl PartialOrd<VarInt> for InitialMaxStreamDataBidiRemote
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 InitialMaxStreamDataBidiRemote
impl TransportParameter for InitialMaxStreamDataBidiRemote
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 InitialMaxStreamDataBidiRemote
impl TransportParameterValidator for InitialMaxStreamDataBidiRemote
sourcefn validate(self) -> Result<Self, DecoderError>
fn validate(self) -> Result<Self, DecoderError>
Validates that the transport parameter is in a valid state
sourceimpl TryFrom<u64> for InitialMaxStreamDataBidiRemote
impl TryFrom<u64> for InitialMaxStreamDataBidiRemote
impl Copy for InitialMaxStreamDataBidiRemote
impl Eq for InitialMaxStreamDataBidiRemote
impl StructuralEq for InitialMaxStreamDataBidiRemote
impl StructuralPartialEq for InitialMaxStreamDataBidiRemote
Auto Trait Implementations
impl RefUnwindSafe for InitialMaxStreamDataBidiRemote
impl Send for InitialMaxStreamDataBidiRemote
impl Sync for InitialMaxStreamDataBidiRemote
impl Unpin for InitialMaxStreamDataBidiRemote
impl UnwindSafe for InitialMaxStreamDataBidiRemote
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