pub struct SanitizedVersionedTransaction { /* private fields */ }
Expand description
Wraps a sanitized VersionedTransaction
to provide a safe API
Implementations
sourceimpl SanitizedVersionedTransaction
impl SanitizedVersionedTransaction
pub fn try_new(tx: VersionedTransaction) -> Result<Self, SanitizeError>
pub fn get_message(&self) -> &SanitizedVersionedMessage
Trait Implementations
sourceimpl Clone for SanitizedVersionedTransaction
impl Clone for SanitizedVersionedTransaction
sourcefn clone(&self) -> SanitizedVersionedTransaction
fn clone(&self) -> SanitizedVersionedTransaction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SanitizedVersionedTransaction
impl Debug for SanitizedVersionedTransaction
sourceimpl PartialEq<SanitizedVersionedTransaction> for SanitizedVersionedTransaction
impl PartialEq<SanitizedVersionedTransaction> for SanitizedVersionedTransaction
sourcefn eq(&self, other: &SanitizedVersionedTransaction) -> bool
fn eq(&self, other: &SanitizedVersionedTransaction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SanitizedVersionedTransaction) -> bool
fn ne(&self, other: &SanitizedVersionedTransaction) -> bool
This method tests for !=
.
sourceimpl TryFrom<VersionedTransaction> for SanitizedVersionedTransaction
impl TryFrom<VersionedTransaction> for SanitizedVersionedTransaction
type Error = SanitizeError
type Error = SanitizeError
The type returned in the event of a conversion error.
sourcefn try_from(tx: VersionedTransaction) -> Result<Self, Self::Error>
fn try_from(tx: VersionedTransaction) -> Result<Self, Self::Error>
Performs the conversion.
impl Eq for SanitizedVersionedTransaction
impl StructuralEq for SanitizedVersionedTransaction
impl StructuralPartialEq for SanitizedVersionedTransaction
Auto Trait Implementations
impl RefUnwindSafe for SanitizedVersionedTransaction
impl Send for SanitizedVersionedTransaction
impl Sync for SanitizedVersionedTransaction
impl Unpin for SanitizedVersionedTransaction
impl UnwindSafe for SanitizedVersionedTransaction
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more