[][src]Struct tracing_actix::ActorInstrumented

pub struct ActorInstrumented<T> where
    T: ActorFuture
{ /* fields omitted */ }

An actor future that has been instrumented with a tracing span.

Implementations

impl<T: ActorFuture + Unpin> ActorInstrumented<T>[src]

pub fn span(&self) -> &Span[src]

Borrows the Span that this type is instrumented by.

pub fn span_mut(&mut self) -> &mut Span[src]

Mutably borrows the Span that this type is instrumented by.

pub fn actor_mut(&mut self) -> &mut T[src]

Trait Implementations

impl<T: ActorFuture + Unpin> ActorFuture for ActorInstrumented<T>[src]

type Output = <T as ActorFuture>::Output

The type of value that this future will resolved with if it is successful. Read more

type Actor = <T as ActorFuture>::Actor

The actor within which this future runs

impl<T: Clone> Clone for ActorInstrumented<T> where
    T: ActorFuture
[src]

impl<T: Debug> Debug for ActorInstrumented<T> where
    T: ActorFuture
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for ActorInstrumented<T>

impl<T> Send for ActorInstrumented<T> where
    T: Send

impl<T> Sync for ActorInstrumented<T> where
    T: Sync

impl<T> Unpin for ActorInstrumented<T> where
    T: Unpin

impl<T> !UnwindSafe for ActorInstrumented<T>

Blanket Implementations

impl<T> ActorInstrument for T where
    T: Unpin + ActorFuture
[src]

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<F> IntoActorFuture for F where
    F: ActorFuture
[src]

type Future = F

The future that this type can be converted into.

type Output = <F as ActorFuture>::Output

The item that the future may resolve with.

type Actor = <F as ActorFuture>::Actor

The actor within which this future runs

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,