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