pub enum HealthcheckError {
Empty,
InvalidDuration,
EmptyExecCommand,
}Expand description
Error returned when healthcheck text is invalid.
Variants§
Empty
The value was empty after trimming.
InvalidDuration
A duration used unsupported syntax.
EmptyExecCommand
An exec command had no arguments.
Trait Implementations§
Source§impl Clone for HealthcheckError
impl Clone for HealthcheckError
Source§fn clone(&self) -> HealthcheckError
fn clone(&self) -> HealthcheckError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HealthcheckError
impl Debug for HealthcheckError
Source§impl Display for HealthcheckError
impl Display for HealthcheckError
Source§impl Error for HealthcheckError
impl Error for HealthcheckError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for HealthcheckError
impl PartialEq for HealthcheckError
impl Copy for HealthcheckError
impl Eq for HealthcheckError
impl StructuralPartialEq for HealthcheckError
Auto Trait Implementations§
impl Freeze for HealthcheckError
impl RefUnwindSafe for HealthcheckError
impl Send for HealthcheckError
impl Sync for HealthcheckError
impl Unpin for HealthcheckError
impl UnsafeUnpin 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