pub struct ServerKeyShare<'a>(/* private fields */);Expand description
The single key share carried by a ServerHello.
Implementations§
Sourcepub const fn entry(self) -> KeyShareEntry<'a>
pub const fn entry(self) -> KeyShareEntry<'a>
Returns the selected key-share entry.
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