pub enum HumanCliError {
Store(StoreError),
Io(Error),
InvalidAnswer(String),
NotPending(String),
}Expand description
Errors of the collection channel.
Variants§
Store(StoreError)
Reading the ledger failed.
Io(Error)
Terminal I/O failed.
InvalidAnswer(String)
The answer could not be interpreted for the request’s mode.
NotPending(String)
No pending request with that id exists on the ledger.
Trait Implementations§
Source§impl Debug for HumanCliError
impl Debug for HumanCliError
Source§impl Display for HumanCliError
impl Display for HumanCliError
Source§impl Error for HumanCliError
impl Error for HumanCliError
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<Error> for HumanCliError
impl From<Error> for HumanCliError
Source§impl From<StoreError> for HumanCliError
impl From<StoreError> for HumanCliError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for HumanCliError
impl !UnwindSafe for HumanCliError
impl Freeze for HumanCliError
impl Send for HumanCliError
impl Sync for HumanCliError
impl Unpin for HumanCliError
impl UnsafeUnpin for HumanCliError
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