pub struct PacketKeySet {
pub local: Box<dyn PacketKey>,
pub remote: Box<dyn PacketKey>,
}Available on crate feature
net only.Expand description
Packet protection keys for bidirectional 1-RTT communication
Fieldsยง
ยงlocal: Box<dyn PacketKey>Encrypts outgoing packets
remote: Box<dyn PacketKey>Decrypts incoming packets
Auto Trait Implementationsยง
impl Freeze for PacketKeySet
impl !RefUnwindSafe for PacketKeySet
impl Send for PacketKeySet
impl Sync for PacketKeySet
impl Unpin for PacketKeySet
impl !UnwindSafe for PacketKeySet
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> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Sourceยงfn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request