pub struct CommandHandle(/* private fields */);
Expand description
Handle for enqueued Command
.
This handle can be used to track the sending progress. After a Command
was enqueued via
Client::enqueue_command
it is in the process of being sent until Client::next
returns
a Event::CommandSent
or Event::CommandRejected
with the corresponding handle.
Trait Implementations§
Source§impl Clone for CommandHandle
impl Clone for CommandHandle
Source§fn clone(&self) -> CommandHandle
fn clone(&self) -> CommandHandle
Returns a duplicate of the value. Read more
1.0.0 · 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 CommandHandle
Debug representation hiding the raw handle.
impl Debug for CommandHandle
Debug representation hiding the raw handle.
Source§impl Hash for CommandHandle
impl Hash for CommandHandle
Source§impl PartialEq for CommandHandle
impl PartialEq for CommandHandle
impl Copy for CommandHandle
impl Eq for CommandHandle
impl StructuralPartialEq for CommandHandle
Auto Trait Implementations§
impl Freeze for CommandHandle
impl RefUnwindSafe for CommandHandle
impl Send for CommandHandle
impl Sync for CommandHandle
impl Unpin for CommandHandle
impl UnwindSafe for CommandHandle
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