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