[][src]Trait adventure::BaseRequest

pub trait BaseRequest {
    type Ok;
    type Error;
}

Trait to represent types of the request, and their expected output and error types.

Associated Types

type Ok

The type of successful values from the corresponding response.

type Error

The type of failures from the corresponding response.

Loading content...

Implementations on Foreign Types

impl<'_, R> BaseRequest for &'_ R where
    R: BaseRequest
[src]

type Ok = R::Ok

type Error = R::Error

impl<P> BaseRequest for Pin<P> where
    P: Deref,
    P::Target: BaseRequest
[src]

type Ok = <P::Target as BaseRequest>::Ok

type Error = <P::Target as BaseRequest>::Error

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

type Ok = R::Ok

type Error = R::Error

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

type Ok = R::Ok

type Error = R::Error

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

type Ok = R::Ok

type Error = R::Error

Loading content...

Implementors

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

type Ok = R::Ok

type Error = R::Error

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

type Ok = R::Ok

type Error = R::Error

impl<R, T, B, F> BaseRequest for Retrying<R, T, B, F> where
    R: BaseRequest
[src]

type Ok = R::Ok

type Error = RetryError<R::Error>

Loading content...