pub trait VerifiedTransaction: Debug {
type Hash: Debug + LowerHex + Eq + Clone + Hash;
type Sender: Debug + Eq + Clone + Hash + Send;
// Required methods
fn hash(&self) -> &Self::Hash;
fn mem_usage(&self) -> usize;
fn sender(&self) -> &Self::Sender;
}Expand description
Already verified transaction that can be safely queued.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".