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