pub struct StrictRecognizer;Expand description
Strict-path recognizer. Zero false positives by construction —
delegates to the existing Parser, which only accepts the
CAPCO-2016 canonical grammar.
Stateless. Cheaply constructible; the engine holds a single
instance behind Arc for the lifetime of one crate::Engine.
Implementations§
Trait Implementations§
Source§impl Clone for StrictRecognizer
impl Clone for StrictRecognizer
Source§fn clone(&self) -> StrictRecognizer
fn clone(&self) -> StrictRecognizer
Returns a duplicate of the value. Read more
1.0.0 · 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 StrictRecognizer
impl Debug for StrictRecognizer
Source§impl Default for StrictRecognizer
impl Default for StrictRecognizer
Source§fn default() -> StrictRecognizer
fn default() -> StrictRecognizer
Returns the “default value” for a type. Read more
Source§impl Recognizer<CapcoScheme> for StrictRecognizer
impl Recognizer<CapcoScheme> for StrictRecognizer
Source§fn recognize(&self, bytes: &[u8], _cx: &ParseContext) -> Parsed<CapcoMarking>
fn recognize(&self, bytes: &[u8], _cx: &ParseContext) -> Parsed<CapcoMarking>
Recognize a marking from raw bytes. Read more
impl Copy for StrictRecognizer
Auto Trait Implementations§
impl Freeze for StrictRecognizer
impl RefUnwindSafe for StrictRecognizer
impl Send for StrictRecognizer
impl Sync for StrictRecognizer
impl Unpin for StrictRecognizer
impl UnsafeUnpin for StrictRecognizer
impl UnwindSafe for StrictRecognizer
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