Struct s2n_quic_core::transport::parameters::InitialMaxStreamDataUni
source · [−]pub struct InitialMaxStreamDataUni(_);Implementations
sourceimpl InitialMaxStreamDataUni
impl InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl Clone for InitialMaxStreamDataUni
sourcefn clone(&self) -> InitialMaxStreamDataUni
fn clone(&self) -> InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl Debug for InitialMaxStreamDataUni
sourceimpl Default for InitialMaxStreamDataUni
impl Default for InitialMaxStreamDataUni
sourceimpl Deref for InitialMaxStreamDataUni
impl Deref for InitialMaxStreamDataUni
sourceimpl Ord for InitialMaxStreamDataUni
impl Ord for InitialMaxStreamDataUni
sourceimpl PartialEq<InitialMaxStreamDataUni> for InitialMaxStreamDataUni
impl PartialEq<InitialMaxStreamDataUni> for InitialMaxStreamDataUni
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &InitialMaxStreamDataUni) -> bool
fn ne(&self, other: &InitialMaxStreamDataUni) -> bool
This method tests for !=.
sourceimpl PartialEq<VarInt> for InitialMaxStreamDataUni
impl PartialEq<VarInt> for InitialMaxStreamDataUni
sourceimpl PartialOrd<InitialMaxStreamDataUni> for InitialMaxStreamDataUni
impl PartialOrd<InitialMaxStreamDataUni> for InitialMaxStreamDataUni
sourcefn partial_cmp(&self, other: &InitialMaxStreamDataUni) -> Option<Ordering>
fn partial_cmp(&self, other: &InitialMaxStreamDataUni) -> 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 InitialMaxStreamDataUni
impl PartialOrd<VarInt> for InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl TransportParameter for InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl TransportParameterValidator for InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl TryFrom<VarInt> for InitialMaxStreamDataUni
sourceimpl TryFrom<u64> for InitialMaxStreamDataUni
impl TryFrom<u64> for InitialMaxStreamDataUni
impl Copy for InitialMaxStreamDataUni
impl Eq for InitialMaxStreamDataUni
impl StructuralEq for InitialMaxStreamDataUni
impl StructuralPartialEq for InitialMaxStreamDataUni
Auto Trait Implementations
impl RefUnwindSafe for InitialMaxStreamDataUni
impl Send for InitialMaxStreamDataUni
impl Sync for InitialMaxStreamDataUni
impl Unpin for InitialMaxStreamDataUni
impl UnwindSafe for InitialMaxStreamDataUni
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