pub enum RecvControl {
Continue,
Stop,
}Expand description
Control signal for receive callbacks.
Variants§
Trait Implementations§
Source§impl Clone for RecvControl
impl Clone for RecvControl
Source§fn clone(&self) -> RecvControl
fn clone(&self) -> RecvControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecvControl
Source§impl Debug for RecvControl
impl Debug for RecvControl
impl Eq for RecvControl
Source§impl PartialEq for RecvControl
impl PartialEq for RecvControl
Source§fn eq(&self, other: &RecvControl) -> bool
fn eq(&self, other: &RecvControl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecvControl
Auto Trait Implementations§
impl Freeze for RecvControl
impl RefUnwindSafe for RecvControl
impl Send for RecvControl
impl Sync for RecvControl
impl Unpin for RecvControl
impl UnsafeUnpin for RecvControl
impl UnwindSafe for RecvControl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more