[]Struct actix_web::actix::actix::dev::channel::AddressSender

pub struct AddressSender<A> where
    A: Actor
{ /* fields omitted */ }

The transmission end of a channel which is used to send values.

This is created by the channel method.

Methods

impl<A> AddressSender<A> where
    A: Actor

Is the channel still open

Attempts to send a message on this Sender<A> with blocking.

This function, must be called from inside of a task.

Attempts to send a message on this Sender<A> without blocking.

Send a message on this Sender<A> without blocking.

This function does not park current task.

Trait Implementations

impl<A> Debug for AddressSender<A> where
    A: Actor

Formats the value using the given formatter. Read more

impl<A> Hash for AddressSender<A> where
    A: Actor

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<A> Eq for AddressSender<A> where
    A: Actor

impl<A> PartialEq<AddressSender<A>> for AddressSender<A> where
    A: Actor

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<A> Drop for AddressSender<A> where
    A: Actor

Executes the destructor for this type. Read more

impl<A> Clone for AddressSender<A> where
    A: Actor

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<A> Send for AddressSender<A>

impl<A> Sync for AddressSender<A>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Erased for T

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

Compare self to key and return true if they are equal.