pub struct LocalStorageInterpreter;Expand description
The built-in, dependency-free BlobInterpreter for WebKit/Chromium Local
Storage. A .localstorage ItemTable.value BLOB holds its string as raw
UTF-16-LE (no BOM, no type byte); this decodes it — but ONLY when the schema
context identifies the ItemTable column, which is the prior that makes the
UTF-16-LE reading confident. An arbitrary BLOB is not this interpreter’s job
(that is the general blob-decoder adapter); it returns None.
Trait Implementations§
Source§impl BlobInterpreter for LocalStorageInterpreter
impl BlobInterpreter for LocalStorageInterpreter
Source§fn interpret(
&self,
bytes: &[u8],
ctx: &BlobContext<'_>,
) -> Option<Interpretation>
fn interpret( &self, bytes: &[u8], ctx: &BlobContext<'_>, ) -> Option<Interpretation>
Interpret a
BLOB’s bytes in the given schema context, or None when this
interpreter recognises nothing in them.Source§impl Clone for LocalStorageInterpreter
impl Clone for LocalStorageInterpreter
Source§fn clone(&self) -> LocalStorageInterpreter
fn clone(&self) -> LocalStorageInterpreter
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 LocalStorageInterpreter
Source§impl Debug for LocalStorageInterpreter
impl Debug for LocalStorageInterpreter
Source§impl Default for LocalStorageInterpreter
impl Default for LocalStorageInterpreter
Source§fn default() -> LocalStorageInterpreter
fn default() -> LocalStorageInterpreter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LocalStorageInterpreter
impl RefUnwindSafe for LocalStorageInterpreter
impl Send for LocalStorageInterpreter
impl Sync for LocalStorageInterpreter
impl Unpin for LocalStorageInterpreter
impl UnsafeUnpin for LocalStorageInterpreter
impl UnwindSafe for LocalStorageInterpreter
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