pub struct CheckReport {
pub probes: Vec<Probe>,
}Expand description
A connector’s full preflight report.
Fields§
§probes: Vec<Probe>The probes run, in order.
Implementations§
Source§impl CheckReport
impl CheckReport
Sourcepub fn not_implemented() -> Self
pub fn not_implemented() -> Self
The default report for connectors that don’t implement a probe.
Sourcepub fn failed_count(&self) -> usize
pub fn failed_count(&self) -> usize
Number of Fail probes (used to compute the doctor exit code).
Trait Implementations§
Source§impl Clone for CheckReport
impl Clone for CheckReport
Source§fn clone(&self) -> CheckReport
fn clone(&self) -> CheckReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckReport
impl Debug for CheckReport
Source§impl Default for CheckReport
impl Default for CheckReport
Source§fn default() -> CheckReport
fn default() -> CheckReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckReport
impl RefUnwindSafe for CheckReport
impl Send for CheckReport
impl Sync for CheckReport
impl Unpin for CheckReport
impl UnsafeUnpin for CheckReport
impl UnwindSafe for CheckReport
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