Struct rustls::quic::Keys [−][src]
pub struct Keys { pub local: DirectionalKeys, pub remote: DirectionalKeys, }
This is supported on crate feature
quic
only.Complete set of keys used to communicate with the peer
Fields
local: DirectionalKeys
Encrypts outgoing packets
remote: DirectionalKeys
Decrypts incoming packets
Implementations
impl Keys
[src]
pub fn initial(
initial_salt: &Salt,
client_dst_connection_id: &[u8],
is_client: bool
) -> Self
[src]
initial_salt: &Salt,
client_dst_connection_id: &[u8],
is_client: bool
) -> Self
Construct keys for use with initial packets
Auto Trait Implementations
impl RefUnwindSafe for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl UnwindSafe for Keys
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,