Struct viz_core::HandlerSuper[][src]

pub struct HandlerSuper<F, T> { /* fields omitted */ }

Implementations

impl<F, T> HandlerSuper<F, T>[src]

pub fn new(f: F) -> Self[src]

Trait Implementations

impl<'a, F, T> Handle<'a, Context> for HandlerSuper<F, T> where
    F: for<'h> HandlerCamp<'h, T> + Send + Sync + 'static,
    T: Extract + Send + Sync + 'static,
    T::Error: Into<Response> + Send
[src]

type Output = Result<Response>

Returns Output

impl<F, T> Handler for HandlerSuper<F, T> where
    F: for<'h> HandlerCamp<'h, T> + Send + Sync,
    T: Extract + Send + Sync + 'static,
    T::Error: Into<Response> + Into<Error> + Send
[src]

Auto Trait Implementations

impl<F, T> RefUnwindSafe for HandlerSuper<F, T> where
    F: RefUnwindSafe,
    T: RefUnwindSafe

impl<F, T> Send for HandlerSuper<F, T> where
    F: Send,
    T: Send

impl<F, T> Sync for HandlerSuper<F, T> where
    F: Sync,
    T: Sync

impl<F, T> Unpin for HandlerSuper<F, T> where
    F: Unpin,
    T: Unpin

impl<F, T> UnwindSafe for HandlerSuper<F, T> where
    F: UnwindSafe,
    T: 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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,