#[non_exhaustive]pub enum CommandPoll {
Pending,
Complete,
}Expand description
Result of advancing a submitted command without blocking.
Marked #[non_exhaustive] for forward compatibility.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CommandPoll
impl Clone for CommandPoll
Source§fn clone(&self) -> CommandPoll
fn clone(&self) -> CommandPoll
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 moreSource§impl Debug for CommandPoll
impl Debug for CommandPoll
Source§impl PartialEq for CommandPoll
impl PartialEq for CommandPoll
Source§fn eq(&self, other: &CommandPoll) -> bool
fn eq(&self, other: &CommandPoll) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CommandPoll
impl Eq for CommandPoll
impl StructuralPartialEq for CommandPoll
Auto Trait Implementations§
impl Freeze for CommandPoll
impl RefUnwindSafe for CommandPoll
impl Send for CommandPoll
impl Sync for CommandPoll
impl Unpin for CommandPoll
impl UnsafeUnpin for CommandPoll
impl UnwindSafe for CommandPoll
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