Enum atm_async_utils::test_sink::FlushOp
[−]
[src]
pub enum FlushOp<E> { Delegate, NotReady, Err(E), }
What to do the next time poll_complete
is called.
Variants
Delegate
Simply delegate to the underlying Sink.
NotReady
Return Async::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 FlushOp<E>
[src]
fn clone(&self) -> FlushOp<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 FlushOp<E>
[src]
impl<E: PartialEq> PartialEq for FlushOp<E>
[src]
fn eq(&self, __arg_0: &FlushOp<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: &FlushOp<E>) -> bool
[src]
This method tests for !=
.
impl<E> Arbitrary for FlushOp<E> where
E: 'static + Clone + Send,
[src]
E: 'static + Clone + Send,