pub struct K1Objects { /* private fields */ }Implementations§
Source§impl K1Objects
impl K1Objects
pub fn open( ordering: Arc<K1TxnOrdering>, peering: Arc<K1Peering>, ) -> Result<Self, String>
pub fn open_with_save_observer( ordering: Arc<K1TxnOrdering>, peering: Arc<K1Peering>, observer: Arc<dyn ObjectSaveObserver>, ) -> Result<Self, String>
pub fn save( &self, filename: &str, file_type: &str, description: &str, data: &[u8], ) -> Result<TxId, String>
pub fn load(&self, id: TxId) -> Result<Option<Object>, String>
Auto Trait Implementations§
impl !RefUnwindSafe for K1Objects
impl !UnwindSafe for K1Objects
impl Freeze for K1Objects
impl Send for K1Objects
impl Sync for K1Objects
impl Unpin for K1Objects
impl UnsafeUnpin for K1Objects
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