Struct bitcoin_sqlite::SQLiteBatch
source · pub struct SQLiteBatch<'a> { /* private fields */ }
Expand description
| RAII class that provides access to a | WalletDatabase |
Implementations§
source§impl<'a> SQLiteBatch<'a>
impl<'a> SQLiteBatch<'a>
pub fn new(database: &mut Connection) -> Self
pub fn close(&mut self)
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 start_cursor(&mut self) -> bool
pub fn read_at_cursor( &mut self, key: &mut DataStream, 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
pub fn setup_sql_statements(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SQLiteBatch<'a>
impl<'a> !Send for SQLiteBatch<'a>
impl<'a> !Sync for SQLiteBatch<'a>
impl<'a> Unpin for SQLiteBatch<'a>
impl<'a> !UnwindSafe for SQLiteBatch<'a>
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