pub struct PingResultProcessingWorker { /* private fields */ }
Implementations
sourceimpl PingResultProcessingWorker
impl PingResultProcessingWorker
sourcepub fn run(
config: Arc<PingResultProcessorConfig>,
extra_ping_result_processors: Vec<Box<dyn PingResultProcessor + Send + Sync>>,
stop_event: Arc<ManualResetEvent>,
ping_stop_event: Arc<ManualResetEvent>,
receiver: UnboundedReceiver<PingResult>
) -> JoinHandle<()>
pub fn run(
config: Arc<PingResultProcessorConfig>,
extra_ping_result_processors: Vec<Box<dyn PingResultProcessor + Send + Sync>>,
stop_event: Arc<ManualResetEvent>,
ping_stop_event: Arc<ManualResetEvent>,
receiver: UnboundedReceiver<PingResult>
) -> JoinHandle<()>
Contracts
Pre-condition: config.exit_on_fail -> config.exit_failure_reason.is_some()
Auto Trait Implementations
impl !RefUnwindSafe for PingResultProcessingWorker
impl Send for PingResultProcessingWorker
impl Sync for PingResultProcessingWorker
impl Unpin for PingResultProcessingWorker
impl !UnwindSafe for PingResultProcessingWorker
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more