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