Struct atm_async_utils::test_channel::TestReceiver
[−]
[src]
pub struct TestReceiver<I, E>(_);
The receiving end of a test channel.
Trait Implementations
impl<I, E> Stream for TestReceiver<I, E>
[src]
type Item = I
Values yielded by the stream.
type Error = E
Errors yielded by the stream.
fn poll_next(
&mut self,
cx: &mut Context
) -> Poll<Option<Self::Item>, Self::Error>
[src]
&mut self,
cx: &mut Context
) -> Poll<Option<Self::Item>, Self::Error>
Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None
if the stream is exhausted. Read more
Auto Trait Implementations
impl<I, E> Send for TestReceiver<I, E> where
E: Send,
I: Send,
E: Send,
I: Send,
impl<I, E> Sync for TestReceiver<I, E> where
E: Send,
I: Send,
E: Send,
I: Send,