pub struct DesSaltPersistenceError { /* private fields */ }Expand description
A failed durable DES generating-engine transition.
Implementations§
Source§impl DesSaltPersistenceError
impl DesSaltPersistenceError
Sourcepub fn operation(&self) -> DesSaltPersistenceOperation
pub fn operation(&self) -> DesSaltPersistenceOperation
Return the failed transition.
Sourcepub fn previous_engine_boots(&self) -> Option<u32>
pub fn previous_engine_boots(&self) -> Option<u32>
Return the last durable epoch, if this was a restart.
Sourcepub fn attempted_engine_boots(&self) -> u32
pub fn attempted_engine_boots(&self) -> u32
Return the epoch that the callback was asked to persist.
Sourcepub fn persistence_source(&self) -> &(dyn Error + Send + Sync + 'static)
pub fn persistence_source(&self) -> &(dyn Error + Send + Sync + 'static)
Return the concrete persistence callback error.
Sourcepub fn downcast_source_ref<E: Error + 'static>(&self) -> Option<&E>
pub fn downcast_source_ref<E: Error + 'static>(&self) -> Option<&E>
Downcast the callback error to its concrete type.
Trait Implementations§
Source§impl Debug for DesSaltPersistenceError
impl Debug for DesSaltPersistenceError
Source§impl Display for DesSaltPersistenceError
impl Display for DesSaltPersistenceError
Source§impl Error for DesSaltPersistenceError
impl Error for DesSaltPersistenceError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for DesSaltPersistenceError
impl !UnwindSafe for DesSaltPersistenceError
impl Freeze for DesSaltPersistenceError
impl Send for DesSaltPersistenceError
impl Sync for DesSaltPersistenceError
impl Unpin for DesSaltPersistenceError
impl UnsafeUnpin for DesSaltPersistenceError
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