pub struct RuntimeTransaction<M> { /* private fields */ }Implementations§
Source§impl RuntimeTransaction<SanitizedMessage>
impl RuntimeTransaction<SanitizedMessage>
pub fn try_from( statically_loaded_runtime_tx: RuntimeTransaction<SanitizedVersionedMessage>, address_loader: impl AddressLoader, reserved_account_keys: &HashSet<Pubkey>, ) -> Result<Self>
Trait Implementations§
Source§impl<M: Clone> Clone for RuntimeTransaction<M>
impl<M: Clone> Clone for RuntimeTransaction<M>
Source§fn clone(&self) -> RuntimeTransaction<M>
fn clone(&self) -> RuntimeTransaction<M>
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 moreSource§impl<M: Debug> Debug for RuntimeTransaction<M>
impl<M: Debug> Debug for RuntimeTransaction<M>
Source§impl<M: PartialEq> PartialEq for RuntimeTransaction<M>
impl<M: PartialEq> PartialEq for RuntimeTransaction<M>
Source§impl<M: StaticMetaAccess> StaticMeta for RuntimeTransaction<M>
impl<M: StaticMetaAccess> StaticMeta for RuntimeTransaction<M>
fn message_hash(&self) -> &Hash
fn is_simple_vote_tx(&self) -> bool
fn compute_unit_limit(&self) -> u32
fn compute_unit_price(&self) -> u64
fn loaded_accounts_bytes(&self) -> u32
impl<M: DynamicMetaAccess> DynamicMeta for RuntimeTransaction<M>
impl<M: Eq> Eq for RuntimeTransaction<M>
impl<M> StructuralPartialEq for RuntimeTransaction<M>
Auto Trait Implementations§
impl<M> Freeze for RuntimeTransaction<M>where
M: Freeze,
impl<M> RefUnwindSafe for RuntimeTransaction<M>where
M: RefUnwindSafe,
impl<M> Send for RuntimeTransaction<M>where
M: Send,
impl<M> Sync for RuntimeTransaction<M>where
M: Sync,
impl<M> Unpin for RuntimeTransaction<M>where
M: Unpin,
impl<M> UnwindSafe for RuntimeTransaction<M>where
M: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more