pub struct InitialMaxStreamDataUni(/* private fields */);Implementations§
Source§impl InitialMaxStreamDataUni
impl InitialMaxStreamDataUni
Sourcepub const RECOMMENDED: Self
pub const RECOMMENDED: Self
Tuned for 150Mbps throughput with a 100ms RTT
Trait Implementations§
Source§impl Clone for InitialMaxStreamDataUni
impl Clone for InitialMaxStreamDataUni
Source§fn clone(&self) -> InitialMaxStreamDataUni
fn clone(&self) -> InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl Debug for InitialMaxStreamDataUni
Source§impl Default for InitialMaxStreamDataUni
impl Default for InitialMaxStreamDataUni
Source§impl Deref for InitialMaxStreamDataUni
impl Deref for InitialMaxStreamDataUni
Source§impl Ord for InitialMaxStreamDataUni
impl Ord for InitialMaxStreamDataUni
Source§fn cmp(&self, other: &InitialMaxStreamDataUni) -> Ordering
fn cmp(&self, other: &InitialMaxStreamDataUni) -> 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 InitialMaxStreamDataUni
impl PartialEq<VarInt> for InitialMaxStreamDataUni
Source§impl PartialEq for InitialMaxStreamDataUni
impl PartialEq for InitialMaxStreamDataUni
Source§impl PartialOrd<VarInt> for InitialMaxStreamDataUni
impl PartialOrd<VarInt> for InitialMaxStreamDataUni
Source§impl PartialOrd for InitialMaxStreamDataUni
impl PartialOrd for InitialMaxStreamDataUni
Source§impl TransportParameter for InitialMaxStreamDataUni
impl TransportParameter for InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl TransportParameterValidator for InitialMaxStreamDataUni
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 InitialMaxStreamDataUni
impl TryFrom<VarInt> for InitialMaxStreamDataUni
Source§impl TryFrom<u64> for InitialMaxStreamDataUni
impl TryFrom<u64> for InitialMaxStreamDataUni
impl Copy for InitialMaxStreamDataUni
impl Eq for InitialMaxStreamDataUni
impl StructuralPartialEq for InitialMaxStreamDataUni
Auto Trait Implementations§
impl Freeze for InitialMaxStreamDataUni
impl RefUnwindSafe for InitialMaxStreamDataUni
impl Send for InitialMaxStreamDataUni
impl Sync for InitialMaxStreamDataUni
impl Unpin for InitialMaxStreamDataUni
impl UnwindSafe for InitialMaxStreamDataUni
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