[−][src]Struct grin_wallet::lmdb_wallet::Batch
An atomic batch in which all changes can be committed all at once or discarded on error.
Trait Implementations
impl<'a, C, K> WalletOutputBatch<K> for Batch<'a, C, K> where
C: NodeClient,
K: Keychain,
[src]
impl<'a, C, K> WalletOutputBatch<K> for Batch<'a, C, K> where
C: NodeClient,
K: Keychain,
fn keychain(&mut self) -> &mut K
[src]
fn keychain(&mut self) -> &mut K
fn save(&mut self, out: OutputData) -> Result<(), Error>
[src]
fn save(&mut self, out: OutputData) -> Result<(), Error>
fn get(&self, id: &Identifier) -> Result<OutputData, Error>
[src]
fn get(&self, id: &Identifier) -> Result<OutputData, Error>
fn iter(&self) -> Box<dyn Iterator<Item = OutputData>>
[src]
fn iter(&self) -> Box<dyn Iterator<Item = OutputData>>
fn delete(&mut self, id: &Identifier) -> Result<(), Error>
[src]
fn delete(&mut self, id: &Identifier) -> Result<(), Error>
fn next_tx_log_id(&mut self, parent_key_id: &Identifier) -> Result<u32, Error>
[src]
fn next_tx_log_id(&mut self, parent_key_id: &Identifier) -> Result<u32, Error>
fn tx_log_iter(&self) -> Box<dyn Iterator<Item = TxLogEntry>>
[src]
fn tx_log_iter(&self) -> Box<dyn Iterator<Item = TxLogEntry>>
fn save_last_confirmed_height(
&mut self,
parent_key_id: &Identifier,
height: u64
) -> Result<(), Error>
[src]
fn save_last_confirmed_height(
&mut self,
parent_key_id: &Identifier,
height: u64
) -> Result<(), Error>
fn save_child_index(
&mut self,
parent_id: &Identifier,
child_n: u32
) -> Result<(), Error>
[src]
fn save_child_index(
&mut self,
parent_id: &Identifier,
child_n: u32
) -> Result<(), Error>
fn save_tx_log_entry(
&self,
t: TxLogEntry,
parent_id: &Identifier
) -> Result<(), Error>
[src]
fn save_tx_log_entry(
&self,
t: TxLogEntry,
parent_id: &Identifier
) -> Result<(), Error>
fn save_acct_path(&mut self, mapping: AcctPathMapping) -> Result<(), Error>
[src]
fn save_acct_path(&mut self, mapping: AcctPathMapping) -> Result<(), Error>
fn acct_path_iter(&self) -> Box<dyn Iterator<Item = AcctPathMapping>>
[src]
fn acct_path_iter(&self) -> Box<dyn Iterator<Item = AcctPathMapping>>
fn lock_output(&mut self, out: &mut OutputData) -> Result<(), Error>
[src]
fn lock_output(&mut self, out: &mut OutputData) -> Result<(), Error>
fn save_private_context(
&mut self,
slate_id: &[u8],
ctx: &Context
) -> Result<(), Error>
[src]
fn save_private_context(
&mut self,
slate_id: &[u8],
ctx: &Context
) -> Result<(), Error>
fn delete_private_context(&mut self, slate_id: &[u8]) -> Result<(), Error>
[src]
fn delete_private_context(&mut self, slate_id: &[u8]) -> Result<(), Error>
fn commit(&self) -> Result<(), Error>
[src]
fn commit(&self) -> Result<(), Error>
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Erased for T
impl<T> Erased for T
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> SafeBorrow for T where
T: ?Sized,
impl<T> SafeBorrow for T where
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T