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