pub struct Command<M: Model> { /* private fields */ }Expand description
A command of a single device, which is what the server runs when a client asks for it, around the definition it was defined with.
The definition is shared with the class when the class defines it, and owned by the
device alone when the device added it for itself, see Dev::add_command.
Implementations§
Auto Trait Implementations§
impl<M> !RefUnwindSafe for Command<M>
impl<M> !UnwindSafe for Command<M>
impl<M> Freeze for Command<M>
impl<M> Send for Command<M>
impl<M> Sync for Command<M>
impl<M> Unpin for Command<M>
impl<M> UnsafeUnpin for Command<M>
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