Struct atm_async_utils::test_channel::TestSender [] [src]

pub struct TestSender<I, E>(_);

The transmission end of a test channel.

This is built upon futures::channel::mpcs::sender and panics if the underlying Sender emits an error.

Trait Implementations

impl<I, E> Sink for TestSender<I, E>
[src]

The type of value that the sink accepts.

The type of value produced by the sink when an error occurs.

[src]

Attempts to prepare the Sink to receive a value. Read more

[src]

Begin the process of sending a value to the sink. Each call to this function must be proceeded by a successful call to poll_ready which returned Ok(Async::Ready(())). Read more

[src]

Flush any remaining output from this sink. Read more

[src]

Flush any remaining output and close this sink, if necessary. Read more

Auto Trait Implementations

impl<I, E> Send for TestSender<I, E> where
    E: Send,
    I: Send

impl<I, E> Sync for TestSender<I, E> where
    E: Send,
    I: Send