[][src]Struct ghost_actor::ghost_chan::GhostChanItem

pub struct GhostChanItem<I, O> {
    pub input: I,
    pub respond: GhostChanRespond<O>,
    pub span: Span,
}

Container type for GhostChan message variants.

Fields

input: I

The request input type.

respond: GhostChanRespond<O>

The response callback for responding to the request.

span: Span

A tracing span for logically following the request/response.

Trait Implementations

impl<I, O> Debug for GhostChanItem<I, O>[src]

Auto Trait Implementations

impl<I, O> !RefUnwindSafe for GhostChanItem<I, O>

impl<I, O> Send for GhostChanItem<I, O> where
    I: Send

impl<I, O> !Sync for GhostChanItem<I, O>

impl<I, O> Unpin for GhostChanItem<I, O> where
    I: Unpin

impl<I, O> !UnwindSafe for GhostChanItem<I, O>

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.