pub enum AccountSummaryError {
RequestFailure(Error),
InvalidHeaderValue(InvalidHeaderValue),
UnexpectedStatus(StatusCode),
Status401 {
message: String,
},
Status500 {
error: String,
},
}
Variants§
RequestFailure(Error)
InvalidHeaderValue(InvalidHeaderValue)
UnexpectedStatus(StatusCode)
Status401
Status500
Implementations§
source§impl AccountSummaryError
impl AccountSummaryError
pub fn to_account_summary_endpoint_error( &self ) -> Option<AccountSummaryEndpointError>
Trait Implementations§
source§impl From<Error> for AccountSummaryError
impl From<Error> for AccountSummaryError
source§fn from(error: Error) -> AccountSummaryError
fn from(error: Error) -> AccountSummaryError
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for AccountSummaryError
impl From<InvalidHeaderValue> for AccountSummaryError
source§fn from(error: InvalidHeaderValue) -> AccountSummaryError
fn from(error: InvalidHeaderValue) -> AccountSummaryError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AccountSummaryError
impl Send for AccountSummaryError
impl Sync for AccountSummaryError
impl Unpin for AccountSummaryError
impl !UnwindSafe for AccountSummaryError
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