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