Struct ethers_middleware::policy::RejectEverything [−][src]
pub struct RejectEverything;
Expand description
A policy that rejects all transactions.
Trait Implementations
fn ensure_can_send<'life0, 'async_trait>(
&'life0 self,
__arg1: TypedTransaction
) -> Pin<Box<dyn Future<Output = Result<TypedTransaction, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn ensure_can_send<'life0, 'async_trait>(
&'life0 self,
__arg1: TypedTransaction
) -> Pin<Box<dyn Future<Output = Result<TypedTransaction, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Evaluates the transactions. Read more
Auto Trait Implementations
impl RefUnwindSafe for RejectEverything
impl Send for RejectEverything
impl Sync for RejectEverything
impl Unpin for RejectEverything
impl UnwindSafe for RejectEverything
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more