Writer
nimbus
0.10.0
Writer
Aliased Type
Methods
abort
commit
Trait Implementations
Readable<'r>
In nimbus::
stateful::
persistence
Structs
Database
SingleStore
SingleStoreDatabase
Enums
StoreId
Traits
Readable
Type Aliases
Writer
nimbus
::
stateful
::
persistence
Type Alias
Writer
Copy item path
Settings
Help
Summary
Source
pub type Writer<'t> = Writer<SafeModeRwTransaction<'t>>;
Aliased Type
§
struct Writer<'t>(
/* private fields */
);
Implementations
§
impl<T> Writer<T>
where T: BackendRwTransaction,
pub fn
commit
(self) ->
Result
<
()
, StoreError>
pub fn
abort
(self)
Trait Implementations
§
impl<'r, T> Readable<'r> for Writer<T>
where T: BackendRwCursorTransaction<'r>,
§
type
Database
= <T as BackendRwTransaction>::Database
§
type
RoCursor
= <T as BackendRwCursorTransaction<'r>>::RoCursor
§
fn
get
<K>( &'r self, db: &<T as BackendRwTransaction>::Database, k:
&K
, ) ->
Result
<
Option
<Value<'r>>, StoreError>
where K:
AsRef
<[
u8
]>,
§
fn
open_ro_cursor
( &'r self, db: &<T as BackendRwTransaction>::Database, ) ->
Result
<<T as BackendRwCursorTransaction<'r>>::RoCursor, StoreError>