Struct asyncio::Strand [] [src]

pub struct Strand<'a, T: 'a> { /* fields omitted */ }

Provides serialized data and handler execution.

Methods

impl<'a, T> Strand<'a, T>
[src]

Request the strand to invoke the given handler.

Returns a &mut T to the memory safely.

Request the strand to invoke the given handler and return immediately.

Provides a Strand handler to asynchronous operation.

The StrandHandler has trait the Handler, that type of Handler::Output is ().

Trait Implementations

impl<'a, T> IoObject for Strand<'a, T>
[src]

Returns a IoService associated with this object.

impl<'a, T> Deref for Strand<'a, T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a, T> DerefMut for Strand<'a, T>
[src]

The method called to mutably dereference a value