pub struct TransactionBatch<'a, 'b> { /* private fields */ }
Implementations§
source§impl<'a, 'b> TransactionBatch<'a, 'b>
impl<'a, 'b> TransactionBatch<'a, 'b>
pub fn new( lock_results: Vec<Result<()>>, bank: &'a Bank, sanitized_txs: Cow<'b, [SanitizedTransaction]> ) -> Self
pub fn lock_results(&self) -> &Vec<Result<()>>
pub fn sanitized_transactions(&self) -> &[SanitizedTransaction]
pub fn bank(&self) -> &Bank
pub fn set_needs_unlock(&mut self, needs_unlock: bool)
pub fn needs_unlock(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for TransactionBatch<'a, 'b>
impl<'a, 'b> Send for TransactionBatch<'a, 'b>
impl<'a, 'b> Sync for TransactionBatch<'a, 'b>
impl<'a, 'b> Unpin for TransactionBatch<'a, 'b>
impl<'a, 'b> !UnwindSafe for TransactionBatch<'a, 'b>
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