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, ) -> 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§fn eq(&self, other: &RuntimeTransaction<M>) -> bool
fn eq(&self, other: &RuntimeTransaction<M>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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