Enum paypal_rust::client::error::PayPalError
source · [−]pub enum PayPalError {
Http(Error),
Json(Error),
Api(ValidationError),
QueryString(Error),
MissingAccessToken,
}
Variants
Http(Error)
Json(Error)
Api(ValidationError)
QueryString(Error)
MissingAccessToken
Trait Implementations
sourceimpl Debug for PayPalError
impl Debug for PayPalError
sourceimpl Display for PayPalError
impl Display for PayPalError
sourceimpl Error for PayPalError
impl Error for PayPalError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for PayPalError
impl From<Error> for PayPalError
sourceimpl From<Error> for PayPalError
impl From<Error> for PayPalError
sourceimpl From<Error> for PayPalError
impl From<Error> for PayPalError
sourceimpl From<Error> for PayPalError
impl From<Error> for PayPalError
sourceimpl From<ValidationError> for PayPalError
impl From<ValidationError> for PayPalError
sourcefn from(error: ValidationError) -> Self
fn from(error: ValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for PayPalError
impl Send for PayPalError
impl Sync for PayPalError
impl Unpin for PayPalError
impl !UnwindSafe for PayPalError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more