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