Struct s2n_quic_core::transport::parameters::InitialMaxStreamsUni
source · [−]pub struct InitialMaxStreamsUni(_);Implementations
sourceimpl InitialMaxStreamsUni
impl InitialMaxStreamsUni
sourcepub const RECOMMENDED: Self = Self(VarInt::from_u8(100))
pub const RECOMMENDED: Self = Self(VarInt::from_u8(100))
Allow up to 100 concurrent streams at any time
Methods from Deref<Target = VarInt>
Methods from Deref<Target = u64>
Trait Implementations
sourceimpl Clone for InitialMaxStreamsUni
impl Clone for InitialMaxStreamsUni
sourcefn clone(&self) -> InitialMaxStreamsUni
fn clone(&self) -> InitialMaxStreamsUni
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 InitialMaxStreamsUni
impl Debug for InitialMaxStreamsUni
sourceimpl Default for InitialMaxStreamsUni
impl Default for InitialMaxStreamsUni
sourceimpl Deref for InitialMaxStreamsUni
impl Deref for InitialMaxStreamsUni
sourceimpl Ord for InitialMaxStreamsUni
impl Ord for InitialMaxStreamsUni
sourceimpl PartialEq<InitialMaxStreamsUni> for InitialMaxStreamsUni
impl PartialEq<InitialMaxStreamsUni> for InitialMaxStreamsUni
sourcefn eq(&self, other: &InitialMaxStreamsUni) -> bool
fn eq(&self, other: &InitialMaxStreamsUni) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InitialMaxStreamsUni) -> bool
fn ne(&self, other: &InitialMaxStreamsUni) -> bool
This method tests for !=.
sourceimpl PartialEq<VarInt> for InitialMaxStreamsUni
impl PartialEq<VarInt> for InitialMaxStreamsUni
sourceimpl PartialOrd<InitialMaxStreamsUni> for InitialMaxStreamsUni
impl PartialOrd<InitialMaxStreamsUni> for InitialMaxStreamsUni
sourcefn partial_cmp(&self, other: &InitialMaxStreamsUni) -> Option<Ordering>
fn partial_cmp(&self, other: &InitialMaxStreamsUni) -> 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 InitialMaxStreamsUni
impl PartialOrd<VarInt> for InitialMaxStreamsUni
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 InitialMaxStreamsUni
impl TransportParameter for InitialMaxStreamsUni
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 InitialMaxStreamsUni
impl TransportParameterValidator for InitialMaxStreamsUni
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 InitialMaxStreamsUni
impl TryFrom<VarInt> for InitialMaxStreamsUni
sourceimpl TryFrom<u64> for InitialMaxStreamsUni
impl TryFrom<u64> for InitialMaxStreamsUni
impl Copy for InitialMaxStreamsUni
impl Eq for InitialMaxStreamsUni
impl StructuralEq for InitialMaxStreamsUni
impl StructuralPartialEq for InitialMaxStreamsUni
Auto Trait Implementations
impl RefUnwindSafe for InitialMaxStreamsUni
impl Send for InitialMaxStreamsUni
impl Sync for InitialMaxStreamsUni
impl Unpin for InitialMaxStreamsUni
impl UnwindSafe for InitialMaxStreamsUni
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