pub struct LifecycleStore { /* private fields */ }Implementations§
Source§impl LifecycleStore
impl LifecycleStore
pub fn new(root: &Path) -> Self
pub fn ledger_path(&self) -> &Path
pub fn projection_snapshot_path(&self) -> PathBuf
pub fn append(&self, entry: &LedgerEntry) -> Result<()>
pub fn read_all(&self) -> Result<Vec<LedgerEntry>>
Trait Implementations§
Source§impl Clone for LifecycleStore
impl Clone for LifecycleStore
Source§fn clone(&self) -> LifecycleStore
fn clone(&self) -> LifecycleStore
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 moreAuto Trait Implementations§
impl Freeze for LifecycleStore
impl RefUnwindSafe for LifecycleStore
impl Send for LifecycleStore
impl Sync for LifecycleStore
impl Unpin for LifecycleStore
impl UnsafeUnpin for LifecycleStore
impl UnwindSafe for LifecycleStore
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