pub struct PreflightReport {
pub checks: Vec<CheckResult>,
}Fields§
§checks: Vec<CheckResult>Implementations§
Source§impl PreflightReport
impl PreflightReport
pub fn add( &mut self, name: &str, status: CheckStatus, detail: impl Into<String>, )
pub fn pass(&mut self, name: &str, detail: impl Into<String>)
pub fn warn(&mut self, name: &str, detail: impl Into<String>)
pub fn fail(&mut self, name: &str, detail: impl Into<String>)
pub fn failed(&self) -> bool
pub fn failures(&self) -> Vec<&CheckResult>
Trait Implementations§
Source§impl Clone for PreflightReport
impl Clone for PreflightReport
Source§impl Debug for PreflightReport
impl Debug for PreflightReport
Source§impl Default for PreflightReport
impl Default for PreflightReport
Auto Trait Implementations§
impl Freeze for PreflightReport
impl RefUnwindSafe for PreflightReport
impl Send for PreflightReport
impl Sync for PreflightReport
impl Unpin for PreflightReport
impl UnsafeUnpin for PreflightReport
impl UnwindSafe for PreflightReport
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