#[repr(C)]pub enum PersistenceFlushCause {
Startup = 0,
Interval = 1,
RouteChange = 2,
RatchetRotation = 3,
Shutdown = 4,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PersistenceFlushCause
impl Clone for PersistenceFlushCause
Source§fn clone(&self) -> PersistenceFlushCause
fn clone(&self) -> PersistenceFlushCause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PersistenceFlushCause
Source§impl Debug for PersistenceFlushCause
impl Debug for PersistenceFlushCause
impl Eq for PersistenceFlushCause
Source§impl PartialEq for PersistenceFlushCause
impl PartialEq for PersistenceFlushCause
impl StructuralPartialEq for PersistenceFlushCause
Auto Trait Implementations§
impl Freeze for PersistenceFlushCause
impl RefUnwindSafe for PersistenceFlushCause
impl Send for PersistenceFlushCause
impl Sync for PersistenceFlushCause
impl Unpin for PersistenceFlushCause
impl UnsafeUnpin for PersistenceFlushCause
impl UnwindSafe for PersistenceFlushCause
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