Enum PinRole
pub enum PinRole {
Typed,
Shown,
}Expand description
Which side of a PIN pairing shows the PIN.
Variants§
Typed
The responder shows it (PairingDesk::show_pin); a person typed it at the joiner.
Shown
The joiner shows it, with the slot the responder assigns; a person types both at the
responder (PairingDesk::submit_code).
Trait Implementations§
impl Copy for PinRole
impl Eq for PinRole
impl StructuralPartialEq for PinRole
Auto Trait Implementations§
impl Freeze for PinRole
impl RefUnwindSafe for PinRole
impl Send for PinRole
impl Sync for PinRole
impl Unpin for PinRole
impl UnsafeUnpin for PinRole
impl UnwindSafe for PinRole
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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