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