Struct s2n_quic_core::transport::parameters::ActiveConnectionIdLimit
source · [−]pub struct ActiveConnectionIdLimit(_);Implementations
sourceimpl ActiveConnectionIdLimit
impl ActiveConnectionIdLimit
sourcepub const RECOMMENDED: Self = Self(VarInt::from_u8(2))
pub const RECOMMENDED: Self = Self(VarInt::from_u8(2))
The recommended value comes from the default of 2
sourceimpl ActiveConnectionIdLimit
impl ActiveConnectionIdLimit
sourcepub fn is_default(self) -> bool
pub fn is_default(self) -> bool
Returns true if the specified value is the default
Methods from Deref<Target = VarInt>
Methods from Deref<Target = u64>
Trait Implementations
sourceimpl Clone for ActiveConnectionIdLimit
impl Clone for ActiveConnectionIdLimit
sourcefn clone(&self) -> ActiveConnectionIdLimit
fn clone(&self) -> ActiveConnectionIdLimit
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 ActiveConnectionIdLimit
impl Debug for ActiveConnectionIdLimit
sourceimpl Default for ActiveConnectionIdLimit
impl Default for ActiveConnectionIdLimit
sourceimpl Deref for ActiveConnectionIdLimit
impl Deref for ActiveConnectionIdLimit
sourceimpl Ord for ActiveConnectionIdLimit
impl Ord for ActiveConnectionIdLimit
sourceimpl PartialEq<ActiveConnectionIdLimit> for ActiveConnectionIdLimit
impl PartialEq<ActiveConnectionIdLimit> for ActiveConnectionIdLimit
sourcefn eq(&self, other: &ActiveConnectionIdLimit) -> bool
fn eq(&self, other: &ActiveConnectionIdLimit) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ActiveConnectionIdLimit) -> bool
fn ne(&self, other: &ActiveConnectionIdLimit) -> bool
This method tests for !=.
sourceimpl PartialEq<VarInt> for ActiveConnectionIdLimit
impl PartialEq<VarInt> for ActiveConnectionIdLimit
sourceimpl PartialOrd<ActiveConnectionIdLimit> for ActiveConnectionIdLimit
impl PartialOrd<ActiveConnectionIdLimit> for ActiveConnectionIdLimit
sourcefn partial_cmp(&self, other: &ActiveConnectionIdLimit) -> Option<Ordering>
fn partial_cmp(&self, other: &ActiveConnectionIdLimit) -> 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 ActiveConnectionIdLimit
impl PartialOrd<VarInt> for ActiveConnectionIdLimit
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 ActiveConnectionIdLimit
impl TransportParameter for ActiveConnectionIdLimit
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 ActiveConnectionIdLimit
impl TransportParameterValidator for ActiveConnectionIdLimit
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 ActiveConnectionIdLimit
impl TryFrom<VarInt> for ActiveConnectionIdLimit
sourceimpl TryFrom<u64> for ActiveConnectionIdLimit
impl TryFrom<u64> for ActiveConnectionIdLimit
impl Copy for ActiveConnectionIdLimit
impl Eq for ActiveConnectionIdLimit
impl StructuralEq for ActiveConnectionIdLimit
impl StructuralPartialEq for ActiveConnectionIdLimit
Auto Trait Implementations
impl RefUnwindSafe for ActiveConnectionIdLimit
impl Send for ActiveConnectionIdLimit
impl Sync for ActiveConnectionIdLimit
impl Unpin for ActiveConnectionIdLimit
impl UnwindSafe for ActiveConnectionIdLimit
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