pub struct OpcCommand;
Expand description
10.18 *OPC, Operation Complete Command
The Operation Complete command causes the device to generate the operation complete message in the Standard Event Status Register when all pending selected device operations have been finished. See 12.5.2.2 for details of operation.
10.19 *OPC?, Operation Complete Query
The Operation Complete query places an ASCII character “1” into the device’s Output Queue when all pending selected device operations have been finished. See 12.5.3 for details of operation.
Trait Implementations
sourceimpl Command for OpcCommand
impl Command for OpcCommand
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<'_>)
fn meta(&self) -> CommandTypeMeta
Auto Trait Implementations
impl RefUnwindSafe for OpcCommand
impl Send for OpcCommand
impl Sync for OpcCommand
impl Unpin for OpcCommand
impl UnwindSafe for OpcCommand
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