[][src]Struct crossbeam_requests::ResponseSender

pub struct ResponseSender<Res> { /* fields omitted */ }

A ResponseSender is received from the RequestReceiver to respond to the request back to the RequestSender

Methods

impl<Res> ResponseSender<Res>[src]

pub fn respond(&self, response: Res)[src]

Responds a request from the RequestSender which finishes the request

Auto Trait Implementations

impl<Res> Unpin for ResponseSender<Res>

impl<Res> Send for ResponseSender<Res> where
    Res: Send

impl<Res> Sync for ResponseSender<Res> where
    Res: Send

impl<Res> UnwindSafe for ResponseSender<Res>

impl<Res> RefUnwindSafe for ResponseSender<Res>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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