pub struct FilePerEvent { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Storage for FilePerEvent
impl Storage for FilePerEvent
fn save(&mut self, key: &str, data: Vec<u8>) -> Result<()>
fn load(&self, key: &str) -> Result<Option<Vec<u8>>>
fn delete(&mut self, key: &str) -> Result<()>
fn list_keys(&self) -> Result<Vec<String>>
Source§fn begin_transaction(&mut self) -> Result<()>
fn begin_transaction(&mut self) -> Result<()>
Begins a transaction. All subsequent save/delete operations are buffered
until commit_transaction() is called. Read more
Auto Trait Implementations§
impl Freeze for FilePerEvent
impl RefUnwindSafe for FilePerEvent
impl Send for FilePerEvent
impl Sync for FilePerEvent
impl Unpin for FilePerEvent
impl UnwindSafe for FilePerEvent
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