pub struct Protector {
pub user_type: u32,
pub kind: ProtectorKind,
}Expand description
A CoreStorage crypto-user (protector) classified by its UserType code.
Fields§
§user_type: u32Raw UserType code (e.g. 0x10000001 = password).
kind: ProtectorKindHuman-readable classification of user_type.
Trait Implementations§
impl Eq for Protector
impl StructuralPartialEq for Protector
Auto Trait Implementations§
impl Freeze for Protector
impl RefUnwindSafe for Protector
impl Send for Protector
impl Sync for Protector
impl Unpin for Protector
impl UnsafeUnpin for Protector
impl UnwindSafe for Protector
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