pub struct PersistedDesSaltState { /* private fields */ }Expand description
Durable DES sender state loaded by an application at startup.
Implementations§
Source§impl PersistedDesSaltState
impl PersistedDesSaltState
Sourcepub fn new(engine_boots: u32) -> Result<Self, DesSaltStateError>
pub fn new(engine_boots: u32) -> Result<Self, DesSaltStateError>
Validate a persisted local generating-engine boots epoch.
Sourcepub fn engine_boots(self) -> u32
pub fn engine_boots(self) -> u32
Return the persisted generating-engine boots epoch.
Trait Implementations§
Source§impl Clone for PersistedDesSaltState
impl Clone for PersistedDesSaltState
Source§fn clone(&self) -> PersistedDesSaltState
fn clone(&self) -> PersistedDesSaltState
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 PersistedDesSaltState
Source§impl Debug for PersistedDesSaltState
impl Debug for PersistedDesSaltState
impl Eq for PersistedDesSaltState
Source§impl PartialEq for PersistedDesSaltState
impl PartialEq for PersistedDesSaltState
impl StructuralPartialEq for PersistedDesSaltState
Auto Trait Implementations§
impl Freeze for PersistedDesSaltState
impl RefUnwindSafe for PersistedDesSaltState
impl Send for PersistedDesSaltState
impl Sync for PersistedDesSaltState
impl Unpin for PersistedDesSaltState
impl UnsafeUnpin for PersistedDesSaltState
impl UnwindSafe for PersistedDesSaltState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.