Struct ethers_middleware::policy::RejectEverything
source · pub struct RejectEverything;Expand description
A policy that rejects all transactions.
Trait Implementations
sourceimpl Clone for RejectEverything
impl Clone for RejectEverything
sourcefn clone(&self) -> RejectEverything
fn clone(&self) -> RejectEverything
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 moresourceimpl Debug for RejectEverything
impl Debug for RejectEverything
sourceimpl Policy for RejectEverything
impl Policy for RejectEverything
type Error = ()
sourcefn 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
impl Copy for RejectEverything
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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