pub struct InitialMaxStreamDataUni(/* private fields */);
Implementations§
source§impl InitialMaxStreamDataUni
impl InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl Clone for InitialMaxStreamDataUni
source§fn clone(&self) -> InitialMaxStreamDataUni
fn clone(&self) -> InitialMaxStreamDataUni
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 Debug for InitialMaxStreamDataUni
impl Debug for InitialMaxStreamDataUni
source§impl Default for InitialMaxStreamDataUni
impl Default for InitialMaxStreamDataUni
source§impl Deref for InitialMaxStreamDataUni
impl Deref for InitialMaxStreamDataUni
source§impl Ord for InitialMaxStreamDataUni
impl Ord for InitialMaxStreamDataUni
source§fn cmp(&self, other: &InitialMaxStreamDataUni) -> Ordering
fn cmp(&self, other: &InitialMaxStreamDataUni) -> 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 InitialMaxStreamDataUni
impl PartialEq<VarInt> for InitialMaxStreamDataUni
source§impl PartialEq for InitialMaxStreamDataUni
impl PartialEq for InitialMaxStreamDataUni
source§fn eq(&self, other: &InitialMaxStreamDataUni) -> bool
fn eq(&self, other: &InitialMaxStreamDataUni) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<VarInt> for InitialMaxStreamDataUni
impl PartialOrd<VarInt> for InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl PartialOrd for InitialMaxStreamDataUni
source§fn partial_cmp(&self, other: &InitialMaxStreamDataUni) -> Option<Ordering>
fn partial_cmp(&self, other: &InitialMaxStreamDataUni) -> 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 InitialMaxStreamDataUni
impl TransportParameter for InitialMaxStreamDataUni
§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 CodecValue
source§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 InitialMaxStreamDataUni
impl TransportParameterValidator for InitialMaxStreamDataUni
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<VarInt> for InitialMaxStreamDataUni
impl TryFrom<VarInt> for InitialMaxStreamDataUni
source§impl TryFrom<u64> for InitialMaxStreamDataUni
impl TryFrom<u64> for InitialMaxStreamDataUni
impl Copy for InitialMaxStreamDataUni
impl Eq for InitialMaxStreamDataUni
impl StructuralPartialEq for InitialMaxStreamDataUni
Auto Trait Implementations§
impl Freeze for InitialMaxStreamDataUni
impl RefUnwindSafe for InitialMaxStreamDataUni
impl Send for InitialMaxStreamDataUni
impl Sync for InitialMaxStreamDataUni
impl Unpin for InitialMaxStreamDataUni
impl UnwindSafe for InitialMaxStreamDataUni
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