pub struct Passcode(/* private fields */);Expand description
A validated setup passcode (§5.1.1.6, §5.1.7.1).
There is no way to build one that a device may not ship with, which is the point: the check belongs at the type, not at each of the several places a passcode enters the stack.
Implementations§
Trait Implementations§
impl Copy for Passcode
impl Eq for Passcode
impl StructuralPartialEq for Passcode
Auto Trait Implementations§
impl Forget for Passcode
impl Freeze for Passcode
impl Move for Passcode
impl RefUnwindSafe for Passcode
impl Send for Passcode
impl Sync for Passcode
impl Unpin for Passcode
impl UnsafeUnpin for Passcode
impl UnwindSafe for Passcode
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