pub struct EsrCommand;
Expand description
10.12 *ESR?, Standard Event Status Register Query
The Standard Event Status Register query allows the programmer to determine the current contents of the Standard Event Status Register. Reading the Standard Event Status Register clears it. See 11.5.1.2.
Trait Implementations
sourceimpl Command for EsrCommand
impl Command for EsrCommand
fn meta(&self) -> CommandTypeMeta
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
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
fn help(&self, _response: &mut ResponseUnit<'_>)
Auto Trait Implementations
impl RefUnwindSafe for EsrCommand
impl Send for EsrCommand
impl Sync for EsrCommand
impl Unpin for EsrCommand
impl UnwindSafe for EsrCommand
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