pub struct InitialMaxStreamsBidi(/* private fields */);Implementations§
Source§impl InitialMaxStreamsBidi
impl InitialMaxStreamsBidi
Sourcepub const RECOMMENDED: Self
pub const RECOMMENDED: Self
Allow up to 100 concurrent streams at any time
Trait Implementations§
Source§impl Clone for InitialMaxStreamsBidi
impl Clone for InitialMaxStreamsBidi
Source§fn clone(&self) -> InitialMaxStreamsBidi
fn clone(&self) -> InitialMaxStreamsBidi
Returns a duplicate 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 InitialMaxStreamsBidi
impl Debug for InitialMaxStreamsBidi
Source§impl Default for InitialMaxStreamsBidi
impl Default for InitialMaxStreamsBidi
Source§impl Deref for InitialMaxStreamsBidi
impl Deref for InitialMaxStreamsBidi
Source§impl From<InitialMaxStreamsBidi> for LocalBidirectional
impl From<InitialMaxStreamsBidi> for LocalBidirectional
Source§fn from(value: InitialMaxStreamsBidi) -> Self
fn from(value: InitialMaxStreamsBidi) -> Self
Converts to this type from the input type.
Source§impl Ord for InitialMaxStreamsBidi
impl Ord for InitialMaxStreamsBidi
Source§fn cmp(&self, other: &InitialMaxStreamsBidi) -> Ordering
fn cmp(&self, other: &InitialMaxStreamsBidi) -> 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 InitialMaxStreamsBidi
impl PartialEq<VarInt> for InitialMaxStreamsBidi
Source§impl PartialEq for InitialMaxStreamsBidi
impl PartialEq for InitialMaxStreamsBidi
Source§impl PartialOrd<VarInt> for InitialMaxStreamsBidi
impl PartialOrd<VarInt> for InitialMaxStreamsBidi
Source§impl PartialOrd for InitialMaxStreamsBidi
impl PartialOrd for InitialMaxStreamsBidi
Source§impl TransportParameter for InitialMaxStreamsBidi
impl TransportParameter for InitialMaxStreamsBidi
Source§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 CodecValueSource§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§fn append_to_buffer(&self, buffer: &mut Vec<u8>)
fn append_to_buffer(&self, buffer: &mut Vec<u8>)
Appends this
TransportParameter to the given buffer containing
already encoded TransportParametersSource§impl TransportParameterValidator for InitialMaxStreamsBidi
impl TransportParameterValidator for InitialMaxStreamsBidi
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 InitialMaxStreamsBidi
impl TryFrom<VarInt> for InitialMaxStreamsBidi
Source§impl TryFrom<u64> for InitialMaxStreamsBidi
impl TryFrom<u64> for InitialMaxStreamsBidi
impl Copy for InitialMaxStreamsBidi
impl Eq for InitialMaxStreamsBidi
impl StructuralPartialEq for InitialMaxStreamsBidi
Auto Trait Implementations§
impl Freeze for InitialMaxStreamsBidi
impl RefUnwindSafe for InitialMaxStreamsBidi
impl Send for InitialMaxStreamsBidi
impl Sync for InitialMaxStreamsBidi
impl Unpin for InitialMaxStreamsBidi
impl UnwindSafe for InitialMaxStreamsBidi
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