pub enum Event {
Create {
device: Vec<u8>,
label: String,
},
Enrol {
device: Vec<u8>,
label: String,
},
Revoke {
device: DeviceId,
},
Recover {
device: Vec<u8>,
label: String,
},
}Expand description
What an entry does.
Variants§
Create
The first entry: establishes the identity and its founding device.
Enrol
Adds a device, signed by one already trusted.
Revoke
Removes a device. Takes effect for every later entry.
Recover
Replaces the whole device set, signed by the recovery key. This is how a user who lost every device gets back in.
Trait Implementations§
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Forget for Event
impl Freeze for Event
impl Move for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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