pub struct StatPresCommand;
Expand description
20.2 :PRESet
STATus:PRESet
The PRESet command is an event that configures the SCPI and device-dependent status data structures such that device-dependent events are reported at a higher level through the mandatory part of the status-reporting mechanism. Device-dependent events are summarized in the mandatory structures. The mandatory structure is defined in part by IEEE 488.2; SCPI-required structures compose the rest. The mandatory part of the status-reporting mechanism provides a device-independent interface for determining the gross status of a device.
Trait Implementations
sourceimpl Command for StatPresCommand
impl Command for StatPresCommand
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 StatPresCommand
impl Send for StatPresCommand
impl Sync for StatPresCommand
impl Unpin for StatPresCommand
impl UnwindSafe for StatPresCommand
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