pub struct ProjectionCache { /* private fields */ }Implementations§
Source§impl ProjectionCache
impl ProjectionCache
pub fn open( root: &Path, ordering: &K1TxnOrdering, ) -> Result<(Self, Vec<CachedCallback>, Option<TxId>), String>
pub fn append( &mut self, callback_txid: TxId, fragment_id: TxId, payload: &[u8], ) -> Result<(), String>
pub fn clear(&mut self) -> Result<(), String>
pub fn ensure_healthy(&self) -> Result<(), String>
Auto Trait Implementations§
impl Forget for ProjectionCache
impl Freeze for ProjectionCache
impl RefUnwindSafe for ProjectionCache
impl Send for ProjectionCache
impl Sync for ProjectionCache
impl Unpin for ProjectionCache
impl UnsafeUnpin for ProjectionCache
impl UnwindSafe for ProjectionCache
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