pub struct MemoryStore { /* private fields */ }Implementations§
Source§impl MemoryStore
impl MemoryStore
pub fn open_or_create(path: &Path) -> Result<Self>
pub fn insert_event(&self, event: &MemoryEvent) -> Result<String>
pub fn insert_event_result( &self, event: &MemoryEvent, ) -> Result<MemoryInsertResult>
pub fn insert_events( &mut self, events: &[MemoryEvent], ) -> Result<Vec<MemoryInsertResult>>
pub fn event_count(&self) -> Result<usize>
Auto Trait Implementations§
impl !Freeze for MemoryStore
impl !RefUnwindSafe for MemoryStore
impl !Sync for MemoryStore
impl !UnwindSafe for MemoryStore
impl Send for MemoryStore
impl Unpin for MemoryStore
impl UnsafeUnpin for MemoryStore
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