pub struct ValidationLog { /* private fields */ }Expand description
Messages collected from the layer for the lifetime of a context.
Implementations§
Source§impl ValidationLog
impl ValidationLog
pub fn record(&self, message: ValidationMessage)
pub fn messages(&self) -> Vec<ValidationMessage>
Sourcepub fn errors(&self) -> Vec<ValidationMessage>
pub fn errors(&self) -> Vec<ValidationMessage>
Messages at error severity, which are the ones that fail a test.
pub fn is_clean(&self) -> bool
Trait Implementations§
Source§impl Debug for ValidationLog
impl Debug for ValidationLog
Auto Trait Implementations§
impl !Freeze for ValidationLog
impl RefUnwindSafe for ValidationLog
impl Send for ValidationLog
impl Sync for ValidationLog
impl Unpin for ValidationLog
impl UnsafeUnpin for ValidationLog
impl UnwindSafe for ValidationLog
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