Enum mostro_client::error::MostroError
source · pub enum MostroError {
ParsingInvoiceError,
ParsingNumberError,
InvoiceExpiredError,
MinExpirationTimeError,
MinAmountError,
}Variants§
Trait Implementations§
source§impl Debug for MostroError
impl Debug for MostroError
source§impl Display for MostroError
impl Display for MostroError
source§impl Error for MostroError
impl Error for MostroError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ParseError> for MostroError
impl From<ParseError> for MostroError
source§fn from(_: ParseError) -> Self
fn from(_: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for MostroError
impl From<ParseIntError> for MostroError
source§fn from(_: ParseIntError) -> Self
fn from(_: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<ParseOrSemanticError> for MostroError
impl From<ParseOrSemanticError> for MostroError
source§fn from(_: ParseOrSemanticError) -> Self
fn from(_: ParseOrSemanticError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MostroError
impl Send for MostroError
impl Sync for MostroError
impl Unpin for MostroError
impl UnwindSafe for MostroError
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