[][src]Struct breadx::display::RequestCookie

#[repr(transparent)]pub struct RequestCookie<R: Request> { /* fields omitted */ }

A cookie for a request.

Requests usually take time to resolve into replies. Therefore, the Display::send_request method returns the RequestCookie, which is later used to block (or await) for the request's eventual result.

Trait Implementations

impl<R: Clone + Request> Clone for RequestCookie<R> where
    R::Reply: Clone
[src]

impl<R: Copy + Request> Copy for RequestCookie<R> where
    R::Reply: Copy
[src]

impl<R: Debug + Request> Debug for RequestCookie<R> where
    R::Reply: Debug
[src]

impl<R: Default + Request> Default for RequestCookie<R> where
    R::Reply: Default
[src]

impl<R: Eq + Request> Eq for RequestCookie<R> where
    R::Reply: Eq
[src]

impl<R: Hash + Request> Hash for RequestCookie<R> where
    R::Reply: Hash
[src]

impl<R: Ord + Request> Ord for RequestCookie<R> where
    R::Reply: Ord
[src]

impl<R: PartialEq + Request> PartialEq<RequestCookie<R>> for RequestCookie<R> where
    R::Reply: PartialEq
[src]

impl<R: PartialOrd + Request> PartialOrd<RequestCookie<R>> for RequestCookie<R> where
    R::Reply: PartialOrd
[src]

impl<R: Request> StructuralEq for RequestCookie<R>[src]

impl<R: Request> StructuralPartialEq for RequestCookie<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for RequestCookie<R> where
    <R as Request>::Reply: RefUnwindSafe
[src]

impl<R> Send for RequestCookie<R> where
    <R as Request>::Reply: Send
[src]

impl<R> Sync for RequestCookie<R> where
    <R as Request>::Reply: Sync
[src]

impl<R> Unpin for RequestCookie<R> where
    <R as Request>::Reply: Unpin
[src]

impl<R> UnwindSafe for RequestCookie<R> where
    <R as Request>::Reply: UnwindSafe
[src]

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> CallHasher for T where
    T: Hash

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.