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