pub enum PaymentCliError {
CurrentDirectory(Error),
InvalidArgs(String),
MissingSigningEnv,
Read(PathBuf, Error),
ReadStdin(Error),
ParseInput(Error),
Admission(PaymentAdmissionError),
Serialize(Error),
}Variants§
CurrentDirectory(Error)
InvalidArgs(String)
MissingSigningEnv
Read(PathBuf, Error)
ReadStdin(Error)
ParseInput(Error)
Admission(PaymentAdmissionError)
Serialize(Error)
Trait Implementations§
Source§impl Debug for PaymentCliError
impl Debug for PaymentCliError
Source§impl Display for PaymentCliError
impl Display for PaymentCliError
Source§impl Error for PaymentCliError
impl Error for PaymentCliError
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<PaymentAdmissionError> for PaymentCliError
impl From<PaymentAdmissionError> for PaymentCliError
Source§fn from(error: PaymentAdmissionError) -> Self
fn from(error: PaymentAdmissionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PaymentCliError
impl !UnwindSafe for PaymentCliError
impl Freeze for PaymentCliError
impl Send for PaymentCliError
impl Sync for PaymentCliError
impl Unpin for PaymentCliError
impl UnsafeUnpin for PaymentCliError
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