pub struct CheckResponse { /* private fields */ }
Expand description
The response of a check.
Implementations§
Source§impl CheckResponse
impl CheckResponse
Sourcepub fn healthy(output: &str) -> Self
pub fn healthy(output: &str) -> Self
Creates a healthy CheckResponse
.
Sourcepub fn degraded(output: &str, action: &str) -> Self
pub fn degraded(output: &str, action: &str) -> Self
Creates a degraded CheckResponse
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CheckResponse
impl RefUnwindSafe for CheckResponse
impl Send for CheckResponse
impl Sync for CheckResponse
impl Unpin for CheckResponse
impl UnwindSafe for CheckResponse
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