pub struct KeyShareEntry<'a> { /* private fields */ }Expand description
One named-group key-share entry.
Implementations§
Sourcepub const fn group(self) -> TlsNamedGroup
pub const fn group(self) -> TlsNamedGroup
Returns the raw named group.
Sourcepub const fn key_exchange(self) -> &'a [u8]
pub const fn key_exchange(self) -> &'a [u8]
Returns the opaque key-exchange bytes.
Trait Implementations§
Auto Trait Implementations§
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