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§
Source§impl Clone for EsrCommand
impl Clone for EsrCommand
Source§fn clone(&self) -> EsrCommand
fn clone(&self) -> EsrCommand
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<D> Command<D> for EsrCommand
impl<D> Command<D> for EsrCommand
Source§fn meta(&self) -> CommandTypeMeta
fn meta(&self) -> CommandTypeMeta
Hint about the allowed forms this command allows. Read more
Source§fn query(
&self,
device: &mut D,
_context: &mut Context<'_>,
_params: Parameters<'_, '_>,
response: ResponseUnit<'_>,
) -> Result<()>
fn query( &self, device: &mut D, _context: &mut Context<'_>, _params: Parameters<'_, '_>, response: ResponseUnit<'_>, ) -> Result<()>
Called when the query form
COMmand?
is used Read moreSource§impl Debug for EsrCommand
impl Debug for EsrCommand
impl Copy for EsrCommand
Auto Trait Implementations§
impl Freeze for EsrCommand
impl RefUnwindSafe for EsrCommand
impl Send for EsrCommand
impl Sync for EsrCommand
impl Unpin for EsrCommand
impl UnwindSafe for EsrCommand
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