pub struct HandshakeContext {
pub key_algorithm: KeyExchangeAlgorithm,
pub expected_controller: Option<String>,
pub required_firmware_rev: Option<String>,
}Expand description
Context shared between handshake participants.
Fields§
§key_algorithm: KeyExchangeAlgorithm§expected_controller: Option<String>§required_firmware_rev: Option<String>Trait Implementations§
Source§impl Clone for HandshakeContext
impl Clone for HandshakeContext
Source§fn clone(&self) -> HandshakeContext
fn clone(&self) -> HandshakeContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandshakeContext
impl Debug for HandshakeContext
Auto Trait Implementations§
impl Freeze for HandshakeContext
impl RefUnwindSafe for HandshakeContext
impl Send for HandshakeContext
impl Sync for HandshakeContext
impl Unpin for HandshakeContext
impl UnwindSafe for HandshakeContext
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