pub enum RankedRegisterError {
Fdb(FdbError),
Binding(FdbBindingError),
PackError(PackError),
InvalidState(String),
}Expand description
Ranked register specific errors
Variants§
Fdb(FdbError)
Database error
Binding(FdbBindingError)
Retry loop error
PackError(PackError)
Serialization error
InvalidState(String)
Invalid state encountered in the register
Trait Implementations§
Source§impl Debug for RankedRegisterError
impl Debug for RankedRegisterError
Source§impl Display for RankedRegisterError
impl Display for RankedRegisterError
Source§impl Error for RankedRegisterError
impl Error for RankedRegisterError
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()
Source§impl From<FdbBindingError> for RankedRegisterError
impl From<FdbBindingError> for RankedRegisterError
Source§fn from(error: FdbBindingError) -> Self
fn from(error: FdbBindingError) -> Self
Converts to this type from the input type.
Source§impl From<FdbError> for RankedRegisterError
impl From<FdbError> for RankedRegisterError
Source§impl From<PackError> for RankedRegisterError
impl From<PackError> for RankedRegisterError
Source§impl RetryableError for RankedRegisterError
The source() chain exposes the wrapped FdbError, so the default
retry_decision makes this error retry-transparent in db.run.
impl RetryableError for RankedRegisterError
The source() chain exposes the wrapped FdbError, so the default
retry_decision makes this error retry-transparent in db.run.
Source§fn retry_decision(&self) -> RetryDecision
fn retry_decision(&self) -> RetryDecision
Classifies this error for the retry loop.
Auto Trait Implementations§
impl Freeze for RankedRegisterError
impl !RefUnwindSafe for RankedRegisterError
impl Send for RankedRegisterError
impl Sync for RankedRegisterError
impl Unpin for RankedRegisterError
impl !UnwindSafe for RankedRegisterError
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