pub struct InitialMaxStreamDataBidiLocal(/* private fields */);Implementations§
Source§impl InitialMaxStreamDataBidiLocal
impl InitialMaxStreamDataBidiLocal
Sourcepub const RECOMMENDED: Self
pub const RECOMMENDED: Self
Tuned for 150Mbps throughput with a 100ms RTT
Trait Implementations§
Source§impl Clone for InitialMaxStreamDataBidiLocal
impl Clone for InitialMaxStreamDataBidiLocal
Source§fn clone(&self) -> InitialMaxStreamDataBidiLocal
fn clone(&self) -> InitialMaxStreamDataBidiLocal
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 Ord for InitialMaxStreamDataBidiLocal
impl Ord for InitialMaxStreamDataBidiLocal
Source§fn cmp(&self, other: &InitialMaxStreamDataBidiLocal) -> Ordering
fn cmp(&self, other: &InitialMaxStreamDataBidiLocal) -> 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 for InitialMaxStreamDataBidiLocal
impl PartialEq for InitialMaxStreamDataBidiLocal
Source§fn eq(&self, other: &InitialMaxStreamDataBidiLocal) -> bool
fn eq(&self, other: &InitialMaxStreamDataBidiLocal) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd<VarInt> for InitialMaxStreamDataBidiLocal
impl PartialOrd<VarInt> for InitialMaxStreamDataBidiLocal
Source§impl PartialOrd for InitialMaxStreamDataBidiLocal
impl PartialOrd for InitialMaxStreamDataBidiLocal
Source§impl TransportParameter for InitialMaxStreamDataBidiLocal
impl TransportParameter for InitialMaxStreamDataBidiLocal
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 InitialMaxStreamDataBidiLocal
impl TransportParameterValidator for InitialMaxStreamDataBidiLocal
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<u64> for InitialMaxStreamDataBidiLocal
impl TryFrom<u64> for InitialMaxStreamDataBidiLocal
impl Copy for InitialMaxStreamDataBidiLocal
impl Eq for InitialMaxStreamDataBidiLocal
impl StructuralPartialEq for InitialMaxStreamDataBidiLocal
Auto Trait Implementations§
impl Freeze for InitialMaxStreamDataBidiLocal
impl RefUnwindSafe for InitialMaxStreamDataBidiLocal
impl Send for InitialMaxStreamDataBidiLocal
impl Sync for InitialMaxStreamDataBidiLocal
impl Unpin for InitialMaxStreamDataBidiLocal
impl UnwindSafe for InitialMaxStreamDataBidiLocal
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