pub struct RetryConnectionIds<'a> {
pub original_destination_cid: &'a ConnectionId<'a>,
pub retry_source_cid: &'a ConnectionId<'a>,
}Expand description
A wrapper for connection IDs used in accept_with_retry.
Fields§
§original_destination_cid: &'a ConnectionId<'a>The DCID of the first Initial packet received by the server, which triggered the Retry packet.
retry_source_cid: &'a ConnectionId<'a>The SCID of the Retry packet sent by the server. This can be different from the new connection’s SCID.
Auto Trait Implementations§
impl<'a> Freeze for RetryConnectionIds<'a>
impl<'a> RefUnwindSafe for RetryConnectionIds<'a>
impl<'a> Send for RetryConnectionIds<'a>
impl<'a> Sync for RetryConnectionIds<'a>
impl<'a> Unpin for RetryConnectionIds<'a>
impl<'a> UnwindSafe for RetryConnectionIds<'a>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more