OperationRegistry

Struct OperationRegistry 

Source
pub struct OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5> { /* private fields */ }

Trait Implementations§

Source§

impl<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5> From<OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5>> for Router<B>
where B: Send + 'static, Op0: Handler<B, In0, HealthcheckOperationInput>, In0: 'static + Send, Op1: Handler<B, In1, ListOperationInput>, In1: 'static + Send, Op2: Handler<B, In2, PrometheusTargetOperationInput>, In2: 'static + Send, Op3: Handler<B, In3, RestartOperationInput>, In3: 'static + Send, Op4: Handler<B, In4, StartOperationInput>, In4: 'static + Send, Op5: Handler<B, In5, StopOperationInput>, In5: 'static + Send,

Source§

fn from( registry: OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5>, ) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5> Freeze for OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5>
where Op0: Freeze, Op1: Freeze, Op2: Freeze, Op3: Freeze, Op4: Freeze, Op5: Freeze,

§

impl<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5> RefUnwindSafe for OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5>

§

impl<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5> Send for OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5>
where Op0: Send, Op1: Send, Op2: Send, Op3: Send, Op4: Send, Op5: Send, B: Send, In0: Send, In1: Send, In2: Send, In3: Send, In4: Send, In5: Send,

§

impl<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5> Sync for OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5>
where Op0: Sync, Op1: Sync, Op2: Sync, Op3: Sync, Op4: Sync, Op5: Sync, B: Sync, In0: Sync, In1: Sync, In2: Sync, In3: Sync, In4: Sync, In5: Sync,

§

impl<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5> Unpin for OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5>
where Op0: Unpin, Op1: Unpin, Op2: Unpin, Op3: Unpin, Op4: Unpin, Op5: Unpin, B: Unpin, In0: Unpin, In1: Unpin, In2: Unpin, In3: Unpin, In4: Unpin, In5: Unpin,

§

impl<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5> UnwindSafe for OperationRegistry<B, Op0, In0, Op1, In1, Op2, In2, Op3, In3, Op4, In4, Op5, In5>
where Op0: UnwindSafe, Op1: UnwindSafe, Op2: UnwindSafe, Op3: UnwindSafe, Op4: UnwindSafe, Op5: UnwindSafe, B: UnwindSafe, In0: UnwindSafe, In1: UnwindSafe, In2: UnwindSafe, In3: UnwindSafe, In4: UnwindSafe, In5: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more