pub struct ClsCommand;
Expand description
10.3 *CLS, Clear Status Command
The Clear Status command clears status data structures, see 11.1.2, and forces the device to the Operation Complete Command Idle State and the Operation Complete Query Idle State, see 12.5.2 and 12.5.3.
If the Clear Status command immediately follows a
, the Output Queue and the MAV bit will be cleared because any new after a clears the Output Queue, see 6.3.2.3.
Trait Implementations
sourceimpl Command for ClsCommand
impl Command for ClsCommand
fn meta(&self) -> CommandTypeMeta
sourcefn query(
&self,
_context: &mut Context<'_>,
_args: &mut Tokenizer<'_>,
_response: &mut ResponseUnit<'_>
) -> Result<()>
fn query(
&self,
_context: &mut Context<'_>,
_args: &mut Tokenizer<'_>,
_response: &mut ResponseUnit<'_>
) -> Result<()>
Called when the query form is used
sourcefn event(
&self,
context: &mut Context<'_>,
_args: &mut Tokenizer<'_>
) -> Result<()>
fn event(
&self,
context: &mut Context<'_>,
_args: &mut Tokenizer<'_>
) -> Result<()>
Called when the event form is used
fn help(&self, _response: &mut ResponseUnit<'_>)
Auto Trait Implementations
impl RefUnwindSafe for ClsCommand
impl Send for ClsCommand
impl Sync for ClsCommand
impl Unpin for ClsCommand
impl UnwindSafe for ClsCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more