pub enum RankedRegisterError {
Fdb(FdbError),
PackError(PackError),
InvalidState(String),
}Expand description
Ranked register specific errors
Variants§
Fdb(FdbError)
Database 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
1.30.0 · 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<FdbError> for RankedRegisterError
impl From<FdbError> for RankedRegisterError
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