pub struct SqliteCarver;Expand description
Whole-database SQLite carver (see the module docs).
Trait Implementations§
Source§impl Carver for SqliteCarver
impl Carver for SqliteCarver
Source§fn format(&self) -> &'static str
fn format(&self) -> &'static str
The scheme-prefixed format id this carver produces (e.g.
"sqlite").Source§fn signatures(&self) -> &[Signature]
fn signatures(&self) -> &[Signature]
The magic signatures that anchor a candidate window for this format.
Source§fn max_window(&self) -> u64
fn max_window(&self) -> u64
An upper bound on the bytes one hit may claim, so the engine can cap the
window it materializes.
Source§fn carve(&self, window: &[u8], ctx: &CarveContext) -> Vec<CarvedItem>
fn carve(&self, window: &[u8], ctx: &CarveContext) -> Vec<CarvedItem>
Carve a (capped) window into zero or more items. Must validate structurally
before emitting and grade confidence; a hit backed only by a short magic with
no second independent check must not emit.
Source§impl Clone for SqliteCarver
impl Clone for SqliteCarver
Source§fn clone(&self) -> SqliteCarver
fn clone(&self) -> SqliteCarver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SqliteCarver
Source§impl Debug for SqliteCarver
impl Debug for SqliteCarver
Source§impl Default for SqliteCarver
impl Default for SqliteCarver
Source§fn default() -> SqliteCarver
fn default() -> SqliteCarver
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SqliteCarver
impl RefUnwindSafe for SqliteCarver
impl Send for SqliteCarver
impl Sync for SqliteCarver
impl Unpin for SqliteCarver
impl UnsafeUnpin for SqliteCarver
impl UnwindSafe for SqliteCarver
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