Enum mpesa::MpesaError [−][src]
pub enum MpesaError {}Show variants
AuthenticationError(Value), B2bError(Value), B2cError(Value), C2bRegisterError(Value), C2bSimulateError(Value), AccountBalanceError(Value), MpesaExpressRequestError(Value), NetworkError(Error), ParseError(Error), EnvironmentalVariableError(VarError), EncryptionError(ErrorStack), Message(&'static str), ErrorResponse(Value),
Expand description
Mpesa error stack
Variants
AuthenticationError(Value)
B2bError(Value)
B2cError(Value)
C2bRegisterError(Value)
C2bSimulateError(Value)
AccountBalanceError(Value)
MpesaExpressRequestError(Value)
NetworkError(Error)
ParseError(Error)
EnvironmentalVariableError(VarError)
EncryptionError(ErrorStack)
Message(&'static str)
ErrorResponse(Value)
Trait Implementations
impl Debug for MpesaError
[src]
impl Debug for MpesaError
[src]impl Display for MpesaError
[src]
impl Display for MpesaError
[src]impl Fail for MpesaError
[src]
impl Fail for MpesaError
[src]fn cause(&self) -> Option<&dyn Fail>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
impl From<&'static str> for MpesaError
[src]
impl From<&'static str> for MpesaError
[src]impl From<ErrorStack> for MpesaError
[src]
impl From<ErrorStack> for MpesaError
[src]fn from(e: ErrorStack) -> Self
[src]
fn from(e: ErrorStack) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for MpesaError
impl Send for MpesaError
impl Sync for MpesaError
impl Unpin for MpesaError
impl !UnwindSafe for MpesaError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more