[][src]Struct async_reply::ReplyHandle

#[must_use = "ReplyHandle should be used to respond to the received message"]pub struct ReplyHandle<T>(_);

The reply handle to respond to the received message.

Implementations

impl<T> ReplyHandle<T>[src]

pub async fn respond<'_>(&'_ self, r: T) -> Result<(), Error<T>>[src]

Respond back to a received message.

Trait Implementations

impl<T: Debug> Debug for ReplyHandle<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ReplyHandle<T>[src]

impl<T> Send for ReplyHandle<T> where
    T: Send
[src]

impl<T> Sync for ReplyHandle<T> where
    T: Send
[src]

impl<T> Unpin for ReplyHandle<T>[src]

impl<T> UnwindSafe for ReplyHandle<T>[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> 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.