[][src]Struct paperclip::actix::FutureWrapper

pub struct FutureWrapper<T>(pub T);

Wrapper for wrapping over impl Future thingies (to avoid breakage).

Trait Implementations

impl<I> Apiv2Schema for FutureWrapper<I> where
    I: IntoFuture,
    <I as IntoFuture>::Item: Apiv2Schema
[src]

impl<I> IntoFuture for FutureWrapper<I> where
    I: IntoFuture
[src]

type Future = <I as IntoFuture>::Future

The future that this type can be converted into.

type Item = <I as IntoFuture>::Item

The item that the future may resolve with.

type Error = <I as IntoFuture>::Error

The error that the future may resolve with.

Auto Trait Implementations

impl<T> Send for FutureWrapper<T> where
    T: Send

impl<T> Sync for FutureWrapper<T> where
    T: Sync

impl<T> Unpin for FutureWrapper<T> where
    T: Unpin

impl<T> UnwindSafe for FutureWrapper<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for FutureWrapper<T> where
    T: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> Apiv2Schema for T where
    T: TypedData
[src]

impl<F> IntoFuture for F where
    F: Future
[src]

type Future = F

The future that this type can be converted into.

type Item = <F as Future>::Item

The item that the future may resolve with.

type Error = <F as Future>::Error

The error that the future may resolve with.

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