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