pub struct OwnedTransactionBuilderWithReadSlot { /* private fields */ }
Implementations§
Source§impl OwnedTransactionBuilderWithReadSlot
impl OwnedTransactionBuilderWithReadSlot
pub fn with_read_slot( self, slot: &TransactionSlot, ) -> Result<Self, OwnedTransactionBuilderError>
pub fn with_read_slots( self, slots: &[TransactionSlot], ) -> Result<Self, OwnedTransactionBuilderError>
pub fn with_write_slot( self, slot: &TransactionSlot, ) -> Result<OwnedTransactionBuilderWithWriteSlot, OwnedTransactionBuilderError>
pub fn with_write_slots( self, slots: &[TransactionSlot], ) -> Result<OwnedTransactionBuilderWithWriteSlot, OwnedTransactionBuilderError>
pub fn with_payload( self, payload: &[u8], ) -> Result<OwnedTransactionBuilderWithPayload, OwnedTransactionBuilderError>
pub fn with_seal( self, seal: &[u8], ) -> Result<OwnedTransaction, OwnedTransactionBuilderError>
pub fn finish(self) -> Result<OwnedTransaction, OwnedTransactionBuilderError>
Trait Implementations§
Source§impl Clone for OwnedTransactionBuilderWithReadSlot
impl Clone for OwnedTransactionBuilderWithReadSlot
Source§fn clone(&self) -> OwnedTransactionBuilderWithReadSlot
fn clone(&self) -> OwnedTransactionBuilderWithReadSlot
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for OwnedTransactionBuilderWithReadSlot
impl RefUnwindSafe for OwnedTransactionBuilderWithReadSlot
impl Send for OwnedTransactionBuilderWithReadSlot
impl Sync for OwnedTransactionBuilderWithReadSlot
impl Unpin for OwnedTransactionBuilderWithReadSlot
impl UnwindSafe for OwnedTransactionBuilderWithReadSlot
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