pub struct InitialMaxStreamsUni(/* private fields */);Implementations§
Source§impl InitialMaxStreamsUni
impl InitialMaxStreamsUni
Sourcepub const RECOMMENDED: Self
pub const RECOMMENDED: Self
Allow up to 100 concurrent streams at any time
Trait Implementations§
Source§impl Clone for InitialMaxStreamsUni
impl Clone for InitialMaxStreamsUni
Source§fn clone(&self) -> InitialMaxStreamsUni
fn clone(&self) -> InitialMaxStreamsUni
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 InitialMaxStreamsUni
impl Debug for InitialMaxStreamsUni
Source§impl Default for InitialMaxStreamsUni
impl Default for InitialMaxStreamsUni
Source§impl Deref for InitialMaxStreamsUni
impl Deref for InitialMaxStreamsUni
Source§impl Ord for InitialMaxStreamsUni
impl Ord for InitialMaxStreamsUni
Source§fn cmp(&self, other: &InitialMaxStreamsUni) -> Ordering
fn cmp(&self, other: &InitialMaxStreamsUni) -> 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 InitialMaxStreamsUni
impl PartialEq<VarInt> for InitialMaxStreamsUni
Source§impl PartialEq for InitialMaxStreamsUni
impl PartialEq for InitialMaxStreamsUni
Source§impl PartialOrd<VarInt> for InitialMaxStreamsUni
impl PartialOrd<VarInt> for InitialMaxStreamsUni
Source§impl PartialOrd for InitialMaxStreamsUni
impl PartialOrd for InitialMaxStreamsUni
Source§impl TransportParameter for InitialMaxStreamsUni
impl TransportParameter for InitialMaxStreamsUni
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 InitialMaxStreamsUni
impl TransportParameterValidator for InitialMaxStreamsUni
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 InitialMaxStreamsUni
impl TryFrom<VarInt> for InitialMaxStreamsUni
Source§impl TryFrom<u64> for InitialMaxStreamsUni
impl TryFrom<u64> for InitialMaxStreamsUni
impl Copy for InitialMaxStreamsUni
impl Eq for InitialMaxStreamsUni
impl StructuralPartialEq for InitialMaxStreamsUni
Auto Trait Implementations§
impl Freeze for InitialMaxStreamsUni
impl RefUnwindSafe for InitialMaxStreamsUni
impl Send for InitialMaxStreamsUni
impl Sync for InitialMaxStreamsUni
impl Unpin for InitialMaxStreamsUni
impl UnwindSafe for InitialMaxStreamsUni
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