Skip to main content

Prober

Trait Prober 

Source
pub trait Prober:
    Send
    + Sync
    + 'static {
    // Required method
    fn probe(
        &self,
        service: Service,
    ) -> Pin<Box<dyn Future<Output = Outcome> + Send>>;
}
Expand description

Checks one service; resolves to what it found.

Required Methods§

Source

fn probe( &self, service: Service, ) -> Pin<Box<dyn Future<Output = Outcome> + Send>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§