[][src]Struct adventure::oneshot::Oneshot

pub struct Oneshot<R> { /* fields omitted */ }

An OneshotRequest adaptor for types that implements Request.

Trait Implementations

impl<R> BaseRequest for Oneshot<R> where
    R: BaseRequest
[src]

type Ok = R::Ok

The type of successful values from the corresponding response.

type Error = R::Error

The type of failures from the corresponding response.

impl<R: Clone> Clone for Oneshot<R>[src]

impl<R> From<R> for Oneshot<R>[src]

impl<R, C> OneshotRequest<C> for Oneshot<R> where
    R: Request<C>, 
[src]

type Response = R::Response

The type of corresponding responses of this request.

impl<R> RetriableRequest for Oneshot<R> where
    R: RetriableRequest
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for Oneshot<R> where
    R: RefUnwindSafe

impl<R> Send for Oneshot<R> where
    R: Send

impl<R> Sync for Oneshot<R> where
    R: Sync

impl<R> Unpin for Oneshot<R> where
    R: Unpin

impl<R> UnwindSafe for Oneshot<R> where
    R: 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<!> for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.