Struct alloy_contract::EventPoller
source · pub struct EventPoller<T, E> {
pub poller: FilterPollerBuilder<T, Log>,
/* private fields */
}Expand description
An event poller.
Polling configuration is available through the poller field.
Fields§
§poller: FilterPollerBuilder<T, Log>The inner poller.
Implementations§
Trait Implementations§
source§impl<T, E> AsMut<PollerBuilder<T, (Uint<256, 4>,), Vec<Log>>> for EventPoller<T, E>
impl<T, E> AsMut<PollerBuilder<T, (Uint<256, 4>,), Vec<Log>>> for EventPoller<T, E>
source§fn as_mut(&mut self) -> &mut FilterPollerBuilder<T, Log>
fn as_mut(&mut self) -> &mut FilterPollerBuilder<T, Log>
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl<T, E> AsRef<PollerBuilder<T, (Uint<256, 4>,), Vec<Log>>> for EventPoller<T, E>
impl<T, E> AsRef<PollerBuilder<T, (Uint<256, 4>,), Vec<Log>>> for EventPoller<T, E>
source§fn as_ref(&self) -> &FilterPollerBuilder<T, Log>
fn as_ref(&self) -> &FilterPollerBuilder<T, Log>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<T: Debug, E> Debug for EventPoller<T, E>
impl<T: Debug, E> Debug for EventPoller<T, E>
source§impl<T, E> From<PollerBuilder<T, (Uint<256, 4>,), Vec<Log>>> for EventPoller<T, E>
impl<T, E> From<PollerBuilder<T, (Uint<256, 4>,), Vec<Log>>> for EventPoller<T, E>
source§fn from(poller: FilterPollerBuilder<T, Log>) -> Self
fn from(poller: FilterPollerBuilder<T, Log>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T, E> Freeze for EventPoller<T, E>
impl<T, E> RefUnwindSafe for EventPoller<T, E>where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for EventPoller<T, E>
impl<T, E> Sync for EventPoller<T, E>
impl<T, E> Unpin for EventPoller<T, E>where
E: Unpin,
impl<T, E> UnwindSafe for EventPoller<T, E>where
E: UnwindSafe,
T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more