#[repr(C)]pub struct RetireConnectionIdFrame {
pub sequence_number: u64,
}
Expand description
An endpoint sends a RETIRE_CONNECTION_ID frame (type=0x19) to indicate that it will no longer use a connection ID that was issued by its peer. This includes the connection ID provided during the handshake. Sending a RETIRE_CONNECTION_ID frame also serves as a request to the peer to send additional connection IDs for future use. New connection IDs can be delivered to a peer using the NEW_CONNECTION_ID frame.
Retiring a connection ID invalidates the stateless reset token associated with that connection ID.
Fields§
§sequence_number: u64
The sequence number of the connection ID being retired.
Trait Implementations§
Source§impl Clone for RetireConnectionIdFrame
impl Clone for RetireConnectionIdFrame
Source§fn clone(&self) -> RetireConnectionIdFrame
fn clone(&self) -> RetireConnectionIdFrame
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 RetireConnectionIdFrame
impl Debug for RetireConnectionIdFrame
Source§impl<'de> Deserialize<'de> for RetireConnectionIdFrame
impl<'de> Deserialize<'de> for RetireConnectionIdFrame
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RetireConnectionIdFrame, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RetireConnectionIdFrame, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RetireConnectionIdFrame
impl PartialEq for RetireConnectionIdFrame
Source§impl PartialOrd for RetireConnectionIdFrame
impl PartialOrd for RetireConnectionIdFrame
Source§impl Serialize for RetireConnectionIdFrame
impl Serialize for RetireConnectionIdFrame
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for RetireConnectionIdFrame
impl Eq for RetireConnectionIdFrame
impl StructuralPartialEq for RetireConnectionIdFrame
Auto Trait Implementations§
impl Freeze for RetireConnectionIdFrame
impl RefUnwindSafe for RetireConnectionIdFrame
impl Send for RetireConnectionIdFrame
impl Sync for RetireConnectionIdFrame
impl Unpin for RetireConnectionIdFrame
impl UnwindSafe for RetireConnectionIdFrame
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out
indicating that a T
is niched.