Enum atm_async_utils::test_stream::PollOp
[−]
[src]
pub enum PollOp<E> { Delegate, NotReady, Err(E), }
What to do the next time poll
is called.
Variants
Delegate
Simply delegate to the underlying Stream.
NotReady
Return AsyncSink::NotReady
instead of calling into the underlying
operation. The task is immediately notified.
Err(E)
Return an error instead of calling into the underlying operation.
Trait Implementations
impl<E: Clone> Clone for PollOp<E>
[src]
fn clone(&self) -> PollOp<E>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<E: Debug> Debug for PollOp<E>
[src]
impl<E: PartialEq> PartialEq for PollOp<E>
[src]
fn eq(&self, __arg_0: &PollOp<E>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PollOp<E>) -> bool
[src]
This method tests for !=
.
impl<E> Arbitrary for PollOp<E> where
E: Arbitrary,
[src]
E: Arbitrary,