[][src]Struct ops_janus::JanusChecker

pub struct JanusChecker<S> where
    S: Statuser + Send + Sync
{ /* fields omitted */ }

Checks a Janus backend is healthy.

Implementations

impl<S> JanusChecker<S> where
    S: Statuser + Send + Sync
[src]

pub fn new(statuser: S, impact: &str) -> Self[src]

Creates a new Janus health checker

Trait Implementations

impl<S> Checker for JanusChecker<S> where
    S: Statuser + Send + Sync
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for JanusChecker<S> where
    S: RefUnwindSafe

impl<S> Send for JanusChecker<S>

impl<S> Sync for JanusChecker<S>

impl<S> Unpin for JanusChecker<S> where
    S: Unpin

impl<S> UnwindSafe for JanusChecker<S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.