pub struct SreCommand;
Expand description
§10.34 *SRE, Service Request Enable Command
The Service Request Enable command sets the Service Request Enable Register bits as defined in 11.3.2.
§10.35 *SRE?, Service Request Enable Query
The Service Request Enable query allows the programmer to determine the current contents of the Service Request Enable Register, see 11.3.2.
Trait Implementations§
Source§impl Clone for SreCommand
impl Clone for SreCommand
Source§fn clone(&self) -> SreCommand
fn clone(&self) -> SreCommand
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 SreCommand
impl<D> Command<D> for SreCommand
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 SreCommand
impl Debug for SreCommand
impl Copy for SreCommand
Auto Trait Implementations§
impl Freeze for SreCommand
impl RefUnwindSafe for SreCommand
impl Send for SreCommand
impl Sync for SreCommand
impl Unpin for SreCommand
impl UnwindSafe for SreCommand
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