pub struct MarkdownIndexStorage;Expand description
Markdown-backed IndexStorage implementation.
Trait Implementations§
Source§impl Clone for MarkdownIndexStorage
impl Clone for MarkdownIndexStorage
Source§fn clone(&self) -> MarkdownIndexStorage
fn clone(&self) -> MarkdownIndexStorage
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 MarkdownIndexStorage
impl Debug for MarkdownIndexStorage
Source§impl Default for MarkdownIndexStorage
impl Default for MarkdownIndexStorage
Source§fn default() -> MarkdownIndexStorage
fn default() -> MarkdownIndexStorage
Returns the “default value” for a type. Read more
Source§impl IndexStorage for MarkdownIndexStorage
impl IndexStorage for MarkdownIndexStorage
Source§fn init(&self, index_dir: &Path) -> Result<()>
fn init(&self, index_dir: &Path) -> Result<()>
Prepare any directories or resources required for persistence.
Source§fn persist(&self, index_dir: &Path, entry: &FileIndex) -> Result<()>
fn persist(&self, index_dir: &Path, entry: &FileIndex) -> Result<()>
Persist an indexed file entry.
Source§fn prefers_snapshot_persistence(&self) -> bool
fn prefers_snapshot_persistence(&self) -> bool
Whether this backend expects full-snapshot persistence. Read more
Auto Trait Implementations§
impl Freeze for MarkdownIndexStorage
impl RefUnwindSafe for MarkdownIndexStorage
impl Send for MarkdownIndexStorage
impl Sync for MarkdownIndexStorage
impl Unpin for MarkdownIndexStorage
impl UnsafeUnpin for MarkdownIndexStorage
impl UnwindSafe for MarkdownIndexStorage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more