pub struct EventFetcher<H: EventHandler> {
pub handler: H,
pub rpc_url: String,
pub start_height: Option<Height>,
pub sleep_time: Duration,
pub max_retries: usize,
}
Fields§
§handler: H
§rpc_url: String
§start_height: Option<Height>
§sleep_time: Duration
§max_retries: usize
Implementations§
Source§impl<H> EventFetcher<H>where
H: EventHandler,
impl<H> EventFetcher<H>where
H: EventHandler,
Auto Trait Implementations§
impl<H> Freeze for EventFetcher<H>where
H: Freeze,
impl<H> RefUnwindSafe for EventFetcher<H>where
H: RefUnwindSafe,
impl<H> Send for EventFetcher<H>
impl<H> Sync for EventFetcher<H>
impl<H> Unpin for EventFetcher<H>where
H: Unpin,
impl<H> UnwindSafe for EventFetcher<H>where
H: UnwindSafe,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request