pub struct Challenge {
pub session_id: String,
pub nonce: String,
}Expand description
A pairing challenge handed to a client in the clear.
Fields§
§session_id: StringThe opaque session identifier the client echoes on confirm and every command.
nonce: StringThe per-session salt the client mixes with the pairing secret to derive the key.
Auto Trait Implementations§
impl Freeze for Challenge
impl RefUnwindSafe for Challenge
impl Send for Challenge
impl Sync for Challenge
impl Unpin for Challenge
impl UnsafeUnpin for Challenge
impl UnwindSafe for Challenge
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