[][src]Struct ghost_actor::GhostRespond

#[must_use]pub struct GhostRespond<T: 'static + Send>(_, _);

Response callback for ghost request.

Implementations

impl<T: 'static + Send> GhostRespond<T>[src]

pub fn respond(self, t: T)[src]

Call this to respond to a ghost request.

pub fn r(self, t: T)[src]

For those who simply cannot stand typing respond.respond(), here is a shortcut.

Auto Trait Implementations

impl<T> !RefUnwindSafe for GhostRespond<T>

impl<T> Send for GhostRespond<T>

impl<T> Sync for GhostRespond<T>

impl<T> Unpin for GhostRespond<T>

impl<T> !UnwindSafe for GhostRespond<T>

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> Instrument 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> WithSubscriber for T[src]