Struct bitcoin_walletdb::DummyBatch
source · pub struct DummyBatch { /* private fields */ }
Expand description
| RAII class that provides access to a | DummyDatabase. Never fails. |
Implementations§
source§impl DummyBatch
impl DummyBatch
pub fn read_key(&mut self, key: DataStream, value: &mut DataStream) -> bool
pub fn write_key( &mut self, key: DataStream, value: DataStream, overwrite: Option<bool> ) -> bool
pub fn erase_key(&mut self, key: DataStream) -> bool
pub fn has_key(&mut self, key: DataStream) -> bool
pub fn flush(&mut self)
pub fn close(&mut self)
pub fn start_cursor(&mut self) -> bool
pub fn read_at_cursor( &mut self, ss_key: &mut DataStream, ss_value: &mut DataStream, complete: &mut bool ) -> bool
pub fn close_cursor(&mut self)
pub fn txn_begin(&mut self) -> bool
pub fn txn_commit(&mut self) -> bool
pub fn txn_abort(&mut self) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for DummyBatch
impl Send for DummyBatch
impl Sync for DummyBatch
impl Unpin for DummyBatch
impl UnwindSafe for DummyBatch
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more