pub struct StreamingScanner<'db> { /* private fields */ }
Expand description
A scanner that supports Vectorscan’s streaming matching APIs
Implementations§
Source§impl<'db> StreamingScanner<'db>
impl<'db> StreamingScanner<'db>
Sourcepub fn new(db: &'db StreamingDatabase) -> Result<Self, Error>
pub fn new(db: &'db StreamingDatabase) -> Result<Self, Error>
Create a new scanner with the given database
Sourcepub fn open_stream(&self) -> Result<StreamScanner<'_>, Error>
pub fn open_stream(&self) -> Result<StreamScanner<'_>, Error>
Open a new Stream
object using hs_open_stream
Trait Implementations§
Source§impl<'db> Clone for StreamingScanner<'db>
impl<'db> Clone for StreamingScanner<'db>
Source§fn clone(&self) -> StreamingScanner<'db>
fn clone(&self) -> StreamingScanner<'db>
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 moreAuto Trait Implementations§
impl<'db> Freeze for StreamingScanner<'db>
impl<'db> RefUnwindSafe for StreamingScanner<'db>
impl<'db> Send for StreamingScanner<'db>
impl<'db> Sync for StreamingScanner<'db>
impl<'db> Unpin for StreamingScanner<'db>
impl<'db> UnwindSafe for StreamingScanner<'db>
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