pub struct OwnedTransactionBuilder { /* private fields */ }
Implementations§
Source§impl OwnedTransactionBuilder
impl OwnedTransactionBuilder
pub fn with_read_slot( self, slot: &TransactionSlot, ) -> Result<OwnedTransactionBuilderWithReadSlot, OwnedTransactionBuilderError>
pub fn with_read_slots( self, slots: &[TransactionSlot], ) -> Result<OwnedTransactionBuilderWithReadSlot, 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 OwnedTransactionBuilder
impl Clone for OwnedTransactionBuilder
Source§fn clone(&self) -> OwnedTransactionBuilder
fn clone(&self) -> OwnedTransactionBuilder
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 OwnedTransactionBuilder
impl RefUnwindSafe for OwnedTransactionBuilder
impl Send for OwnedTransactionBuilder
impl Sync for OwnedTransactionBuilder
impl Unpin for OwnedTransactionBuilder
impl UnwindSafe for OwnedTransactionBuilder
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