pub struct OrderStore { /* private fields */ }Implementations§
Source§impl OrderStore
impl OrderStore
pub fn create(path: &Path) -> Result<Self, String>
pub fn open(path: &Path) -> Result<Self, String>
pub fn entries(&self) -> &[(TxId, SubsystemId)]
pub fn index_of(&self, id: TxId) -> Option<usize>
pub fn commit( &mut self, retained_len: usize, id: TxId, subsystem: SubsystemId, ) -> Result<(), String>
Auto Trait Implementations§
impl Freeze for OrderStore
impl RefUnwindSafe for OrderStore
impl Send for OrderStore
impl Sync for OrderStore
impl Unpin for OrderStore
impl UnsafeUnpin for OrderStore
impl UnwindSafe for OrderStore
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