Struct ethers_middleware::policy::AllowEverything
source · pub struct AllowEverything;Expand description
A policy that does not restrict anything.
Trait Implementations
sourceimpl Clone for AllowEverything
impl Clone for AllowEverything
sourcefn clone(&self) -> AllowEverything
fn clone(&self) -> AllowEverything
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 AllowEverything
impl Debug for AllowEverything
sourceimpl Policy for AllowEverything
impl Policy for AllowEverything
type Error = ()
sourcefn ensure_can_send<'life0, 'async_trait>(
&'life0 self,
tx: 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,
tx: 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 AllowEverything
Auto Trait Implementations
impl RefUnwindSafe for AllowEverything
impl Send for AllowEverything
impl Sync for AllowEverything
impl Unpin for AllowEverything
impl UnwindSafe for AllowEverything
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