pub struct Check {
pub id: &'static str,
/* private fields */
}Expand description
A registered check.
Fields§
§id: &'static strStable check identifier referenced by registry entries (e.g.
lifecycle.first-interaction-initialize).
Implementations§
Source§impl Check
impl Check
Sourcepub fn run(&self, context: &TraceContext<'_>) -> CheckOutcome
pub fn run(&self, context: &TraceContext<'_>) -> CheckOutcome
Runs the check, returning its findings and what it examined.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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