pub struct InitialMaxStreamDataBidiRemote(/* private fields */);Implementations§
source§impl InitialMaxStreamDataBidiRemote
impl InitialMaxStreamDataBidiRemote
sourcepub const RECOMMENDED: Self = _
pub const RECOMMENDED: Self = _
Tuned for 150Mbps throughput with a 100ms RTT
Methods from Deref<Target = VarInt>§
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Clone for InitialMaxStreamDataBidiRemote
impl Clone for InitialMaxStreamDataBidiRemote
source§fn clone(&self) -> InitialMaxStreamDataBidiRemote
fn clone(&self) -> InitialMaxStreamDataBidiRemote
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Ord for InitialMaxStreamDataBidiRemote
impl Ord for InitialMaxStreamDataBidiRemote
source§fn cmp(&self, other: &InitialMaxStreamDataBidiRemote) -> Ordering
fn cmp(&self, other: &InitialMaxStreamDataBidiRemote) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<VarInt> for InitialMaxStreamDataBidiRemote
impl PartialEq<VarInt> for InitialMaxStreamDataBidiRemote
source§impl PartialEq for InitialMaxStreamDataBidiRemote
impl PartialEq for InitialMaxStreamDataBidiRemote
source§fn 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 ==.source§impl PartialOrd<VarInt> for InitialMaxStreamDataBidiRemote
impl PartialOrd<VarInt> for InitialMaxStreamDataBidiRemote
1.0.0 · source§fn 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 moresource§impl PartialOrd for InitialMaxStreamDataBidiRemote
impl PartialOrd for InitialMaxStreamDataBidiRemote
source§fn partial_cmp(
&self,
other: &InitialMaxStreamDataBidiRemote
) -> Option<Ordering>
fn partial_cmp( &self, other: &InitialMaxStreamDataBidiRemote ) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl TransportParameter for InitialMaxStreamDataBidiRemote
impl TransportParameter for InitialMaxStreamDataBidiRemote
§type CodecValue = VarInt
type CodecValue = VarInt
Associated type for decoding/encoding the TransportParameter
source§fn from_codec_value(value: Self::CodecValue) -> Self
fn from_codec_value(value: Self::CodecValue) -> Self
Create a
TransportParameter from the CodecValuesource§fn try_into_codec_value(&self) -> Option<&Self::CodecValue>
fn try_into_codec_value(&self) -> Option<&Self::CodecValue>
Attempts to convert the
TransportParameter into the CodecValuesource§fn 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 overridablesource§impl TransportParameterValidator for InitialMaxStreamDataBidiRemote
impl TransportParameterValidator for InitialMaxStreamDataBidiRemote
source§fn validate(self) -> Result<Self, DecoderError>
fn validate(self) -> Result<Self, DecoderError>
Validates that the transport parameter is in a valid state
source§impl 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§
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