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