pub struct RetrySourceConnectionId(/* private fields */);
Implementations§
Methods from Deref<Target = LocalId>§
Trait Implementations§
source§impl Clone for RetrySourceConnectionId
impl Clone for RetrySourceConnectionId
source§fn clone(&self) -> RetrySourceConnectionId
fn clone(&self) -> RetrySourceConnectionId
Returns a copy 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 RetrySourceConnectionId
impl Debug for RetrySourceConnectionId
source§impl<'a> DecoderValue<'a> for RetrySourceConnectionId
impl<'a> DecoderValue<'a> for RetrySourceConnectionId
fn decode(buffer: DecoderBuffer<'a>) -> DecoderBufferResult<'a, Self>
source§impl<'a> DecoderValueMut<'a> for RetrySourceConnectionId
impl<'a> DecoderValueMut<'a> for RetrySourceConnectionId
fn decode_mut(buffer: DecoderBufferMut<'a>) -> DecoderBufferMutResult<'a, Self>
source§impl Default for RetrySourceConnectionId
impl Default for RetrySourceConnectionId
source§impl Deref for RetrySourceConnectionId
impl Deref for RetrySourceConnectionId
source§impl EncoderValue for RetrySourceConnectionId
impl EncoderValue for RetrySourceConnectionId
source§fn encode_mut<E>(&mut self, encoder: &mut E)where
E: Encoder,
fn encode_mut<E>(&mut self, encoder: &mut E)where
E: Encoder,
Encodes the value into the encoder, while potentially mutating the value itself
source§fn encoding_size(&self) -> usize
fn encoding_size(&self) -> usize
Returns the encoding size with no buffer constrains
source§fn encoding_size_for_encoder<E>(&self, encoder: &E) -> usizewhere
E: Encoder,
fn encoding_size_for_encoder<E>(&self, encoder: &E) -> usizewhere
E: Encoder,
Returns the encoding size for the given encoder’s capacity
source§fn encode_with_len_prefix<Len, E>(&self, encoder: &mut E)
fn encode_with_len_prefix<Len, E>(&self, encoder: &mut E)
Encodes the value into the encoder with a prefix of
Len
fn encode_to_vec(&self) -> Vec<u8>
source§impl Ord for RetrySourceConnectionId
impl Ord for RetrySourceConnectionId
source§fn cmp(&self, other: &RetrySourceConnectionId) -> Ordering
fn cmp(&self, other: &RetrySourceConnectionId) -> 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<LocalId> for RetrySourceConnectionId
impl PartialEq<LocalId> for RetrySourceConnectionId
source§impl PartialEq for RetrySourceConnectionId
impl PartialEq for RetrySourceConnectionId
source§fn eq(&self, other: &RetrySourceConnectionId) -> bool
fn eq(&self, other: &RetrySourceConnectionId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<LocalId> for RetrySourceConnectionId
impl PartialOrd<LocalId> for RetrySourceConnectionId
1.0.0 · source§fn 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 moresource§impl PartialOrd for RetrySourceConnectionId
impl PartialOrd for RetrySourceConnectionId
source§fn partial_cmp(&self, other: &RetrySourceConnectionId) -> Option<Ordering>
fn partial_cmp(&self, other: &RetrySourceConnectionId) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl TransportParameter for RetrySourceConnectionId
impl TransportParameter for RetrySourceConnectionId
§type CodecValue = LocalId
type CodecValue = LocalId
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 CodecValue
source§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§impl TransportParameterValidator for RetrySourceConnectionId
impl TransportParameterValidator for RetrySourceConnectionId
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<&[u8]> for RetrySourceConnectionId
impl TryFrom<&[u8]> for RetrySourceConnectionId
source§impl TryFrom<LocalId> for RetrySourceConnectionId
impl TryFrom<LocalId> for RetrySourceConnectionId
impl Copy for RetrySourceConnectionId
impl Eq for RetrySourceConnectionId
impl StructuralPartialEq for RetrySourceConnectionId
Auto Trait Implementations§
impl Freeze for RetrySourceConnectionId
impl RefUnwindSafe for RetrySourceConnectionId
impl Send for RetrySourceConnectionId
impl Sync for RetrySourceConnectionId
impl Unpin for RetrySourceConnectionId
impl UnwindSafe for RetrySourceConnectionId
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
source§impl<T> PacketPayloadEncoder for Twhere
T: EncoderValue,
impl<T> PacketPayloadEncoder for Twhere
T: EncoderValue,
source§fn encoding_size_hint<E>(&mut self, encoder: &E, minimum_len: usize) -> usizewhere
E: Encoder,
fn encoding_size_hint<E>(&mut self, encoder: &E, minimum_len: usize) -> usizewhere
E: Encoder,
Returns an estimate of the encoding size of the payload. This
may be inaccurate from what actually is encoded. Estimates should
be less than or equal to what is actually written.
Implementations can return 0 to skip encoding.