Enum golem_client::account::GetAccountError
source · pub enum GetAccountError {
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 GetAccountError
impl GetAccountError
pub fn to_account_endpoint_error(&self) -> Option<AccountEndpointError>
Trait Implementations§
source§impl From<Error> for GetAccountError
impl From<Error> for GetAccountError
source§fn from(error: Error) -> GetAccountError
fn from(error: Error) -> GetAccountError
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for GetAccountError
impl From<InvalidHeaderValue> for GetAccountError
source§fn from(error: InvalidHeaderValue) -> GetAccountError
fn from(error: InvalidHeaderValue) -> GetAccountError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GetAccountError
impl Send for GetAccountError
impl Sync for GetAccountError
impl Unpin for GetAccountError
impl !UnwindSafe for GetAccountError
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