pub struct Checker { /* private fields */ }
Expand description
Verify a list of directives against a test input.
Use a CheckerBuilder
to construct a Checker
. Then use the test
method to verify the list
of directives against a test input.
Implementations§
Source§impl Checker
impl Checker
Sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
An empty checker contains no directives, and will match any input string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Checker
impl RefUnwindSafe for Checker
impl Send for Checker
impl Sync for Checker
impl Unpin for Checker
impl UnwindSafe for Checker
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