Enum golem_client::token::GetTokensError
source · pub enum GetTokensError {
RequestFailure(Error),
InvalidHeaderValue(InvalidHeaderValue),
UnexpectedStatus(StatusCode),
Status404 {
message: String,
},
Status400 {
errors: Vec<String>,
},
Status500 {
error: String,
},
}
Variants§
RequestFailure(Error)
InvalidHeaderValue(InvalidHeaderValue)
UnexpectedStatus(StatusCode)
Status404
Status400
Status500
Implementations§
source§impl GetTokensError
impl GetTokensError
pub fn to_account_endpoint_error(&self) -> Option<AccountEndpointError>
Trait Implementations§
source§impl From<Error> for GetTokensError
impl From<Error> for GetTokensError
source§fn from(error: Error) -> GetTokensError
fn from(error: Error) -> GetTokensError
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for GetTokensError
impl From<InvalidHeaderValue> for GetTokensError
source§fn from(error: InvalidHeaderValue) -> GetTokensError
fn from(error: InvalidHeaderValue) -> GetTokensError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GetTokensError
impl Send for GetTokensError
impl Sync for GetTokensError
impl Unpin for GetTokensError
impl !UnwindSafe for GetTokensError
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