#[non_exhaustive]pub enum CommandResponsePoll {
Pending,
Complete(Response),
}Expand description
Result of advancing a submitted command and harvesting its response when available.
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 CommandResponsePoll
impl Clone for CommandResponsePoll
Source§fn clone(&self) -> CommandResponsePoll
fn clone(&self) -> CommandResponsePoll
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 CommandResponsePoll
impl Debug for CommandResponsePoll
Source§impl From<CommandResponsePoll> for OperationPoll<Response>
impl From<CommandResponsePoll> for OperationPoll<Response>
Source§fn from(value: CommandResponsePoll) -> Self
fn from(value: CommandResponsePoll) -> Self
Converts to this type from the input type.
impl Copy for CommandResponsePoll
Auto Trait Implementations§
impl Freeze for CommandResponsePoll
impl RefUnwindSafe for CommandResponsePoll
impl Send for CommandResponsePoll
impl Sync for CommandResponsePoll
impl Unpin for CommandResponsePoll
impl UnsafeUnpin for CommandResponsePoll
impl UnwindSafe for CommandResponsePoll
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