Enum golem_client::whitelist::SetEnabledError
source · pub enum SetEnabledError {
RequestFailure(Error),
InvalidHeaderValue(InvalidHeaderValue),
UnexpectedStatus(StatusCode),
Status500 {
error: String,
},
}
Variants§
RequestFailure(Error)
InvalidHeaderValue(InvalidHeaderValue)
UnexpectedStatus(StatusCode)
Status500
Implementations§
source§impl SetEnabledError
impl SetEnabledError
pub fn to_whitelist_endpoint_error(&self) -> Option<WhitelistEndpointError>
Trait Implementations§
source§impl From<Error> for SetEnabledError
impl From<Error> for SetEnabledError
source§fn from(error: Error) -> SetEnabledError
fn from(error: Error) -> SetEnabledError
Converts to this type from the input type.
source§impl From<InvalidHeaderValue> for SetEnabledError
impl From<InvalidHeaderValue> for SetEnabledError
source§fn from(error: InvalidHeaderValue) -> SetEnabledError
fn from(error: InvalidHeaderValue) -> SetEnabledError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SetEnabledError
impl Send for SetEnabledError
impl Sync for SetEnabledError
impl Unpin for SetEnabledError
impl !UnwindSafe for SetEnabledError
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