pub struct Verifier<C, S, V> { /* private fields */ }
Expand description
Transaction verifier.
Verification can be run in parallel for all incoming transactions.
Implementations
Trait Implementations
sourceimpl<C: Client> Verifier<Transaction> for Verifier<C, NonceAndGasPrice, VerifiedTransaction>
impl<C: Client> Verifier<Transaction> for Verifier<C, NonceAndGasPrice, VerifiedTransaction>
type VerifiedTransaction = VerifiedTransaction
type VerifiedTransaction = VerifiedTransaction
Verified transaction.
sourcefn verify_transaction(
&self,
tx: Transaction
) -> Result<Self::VerifiedTransaction, Self::Error>
fn verify_transaction(
&self,
tx: Transaction
) -> Result<Self::VerifiedTransaction, Self::Error>
Verifies a UnverifiedTransaction
and produces VerifiedTransaction
instance.
Auto Trait Implementations
impl<C, S, V> RefUnwindSafe for Verifier<C, S, V> where
C: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
impl<C, S, V> Send for Verifier<C, S, V> where
C: Send,
S: Send,
V: Send + Sync,
impl<C, S, V> Sync for Verifier<C, S, V> where
C: Sync,
S: Sync,
V: Send + Sync,
impl<C, S, V> Unpin for Verifier<C, S, V> where
C: Unpin,
S: Unpin,
impl<C, S, V> UnwindSafe for Verifier<C, S, V> where
C: UnwindSafe,
S: UnwindSafe,
V: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more