Enum lightning_signer::persist::Error
source · pub enum Error {
Unavailable(String),
NotFound(String),
AlreadyExists(String),
Internal(String),
VersionMismatch,
}
Expand description
Error returned by persister
Variants§
Persister is temporarily unavailable, might work later
NotFound(String)
Inconsistent state, needed resource is missing
AlreadyExists(String)
Inconsistent state, resource already present
Internal(String)
Non-recoverable internal error
VersionMismatch
Version mismatch
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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