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