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