Struct bogrep::ChromiumReader
source · pub struct ChromiumReader;Expand description
A bookmark reader to read bookmarks in JSON format from Chromium or Chrome.
Implementations§
Trait Implementations§
source§impl Debug for ChromiumReader
impl Debug for ChromiumReader
source§impl<'a> ReadBookmark<'a> for ChromiumReader
impl<'a> ReadBookmark<'a> for ChromiumReader
type ParsedValue = Value
fn name(&self) -> SourceType
fn extension(&self) -> Option<&str>
source§fn select_source(
&self,
source_path: &Path,
parsed_bookmarks: &Value
) -> Result<Option<SourceType>, Error>
fn select_source( &self, source_path: &Path, parsed_bookmarks: &Value ) -> Result<Option<SourceType>, Error>
Identify and select the source. Read more
fn import( &self, source: &Source, parsed_bookmarks: Value, source_bookmarks: &mut SourceBookmarks ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for ChromiumReader
impl RefUnwindSafe for ChromiumReader
impl Send for ChromiumReader
impl Sync for ChromiumReader
impl Unpin for ChromiumReader
impl UnwindSafe for ChromiumReader
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