pub struct ValidationCanary { /* private fields */ }
Expand description
Flag for internal testing.
Implementations§
Source§impl ValidationCanary
impl ValidationCanary
Sourcepub fn get_and_reset(&self) -> Vec<String>
pub fn get_and_reset(&self) -> Vec<String>
Returns any API validation errors that have occurred in this process since the last call to this function.
Auto Trait Implementations§
impl !Freeze for ValidationCanary
impl !RefUnwindSafe for ValidationCanary
impl Send for ValidationCanary
impl Sync for ValidationCanary
impl Unpin for ValidationCanary
impl UnwindSafe for ValidationCanary
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