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