pub struct ImmutableDeserializedPacket { /* private fields */ }Implementations§
source§impl ImmutableDeserializedPacket
impl ImmutableDeserializedPacket
pub fn new( packet: Packet, priority_details: Option<TransactionPriorityDetails> ) -> Result<Self, DeserializedPacketError>
pub fn original_packet(&self) -> &Packet
pub fn transaction(&self) -> &SanitizedVersionedTransaction
pub fn message_hash(&self) -> &Hash
pub fn is_simple_vote(&self) -> bool
pub fn priority(&self) -> u64
pub fn compute_unit_limit(&self) -> u64
pub fn build_sanitized_transaction( &self, feature_set: &Arc<FeatureSet>, votes_only: bool, address_loader: impl AddressLoader ) -> Option<SanitizedTransaction>
Trait Implementations§
source§impl Debug for ImmutableDeserializedPacket
impl Debug for ImmutableDeserializedPacket
source§impl Ord for ImmutableDeserializedPacket
impl Ord for ImmutableDeserializedPacket
source§impl PartialEq<ImmutableDeserializedPacket> for ImmutableDeserializedPacket
impl PartialEq<ImmutableDeserializedPacket> for ImmutableDeserializedPacket
source§fn eq(&self, other: &ImmutableDeserializedPacket) -> bool
fn eq(&self, other: &ImmutableDeserializedPacket) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ImmutableDeserializedPacket> for ImmutableDeserializedPacket
impl PartialOrd<ImmutableDeserializedPacket> for ImmutableDeserializedPacket
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for ImmutableDeserializedPacket
impl StructuralEq for ImmutableDeserializedPacket
impl StructuralPartialEq for ImmutableDeserializedPacket
Auto Trait Implementations§
impl RefUnwindSafe for ImmutableDeserializedPacket
impl Send for ImmutableDeserializedPacket
impl Sync for ImmutableDeserializedPacket
impl Unpin for ImmutableDeserializedPacket
impl UnwindSafe for ImmutableDeserializedPacket
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Requestsource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request