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