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
sourceimpl Command for SreCommand
impl Command for SreCommand
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 SreCommand
impl Send for SreCommand
impl Sync for SreCommand
impl Unpin for SreCommand
impl UnwindSafe for SreCommand
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