pub enum OpenedBy {
Ratchet(RatchetId),
IdentityKey,
}Expand description
The reference surfaces this as Destination.latest_ratchet_id (None when the identity key opened it).
Variants§
Trait Implementations§
impl Copy for OpenedBy
impl Eq for OpenedBy
impl StructuralPartialEq for OpenedBy
Auto Trait Implementations§
impl Freeze for OpenedBy
impl RefUnwindSafe for OpenedBy
impl Send for OpenedBy
impl Sync for OpenedBy
impl Unpin for OpenedBy
impl UnsafeUnpin for OpenedBy
impl UnwindSafe for OpenedBy
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