pub enum DeviceStatusReport {
Ready = 0,
BusyRepeat = 1,
BusyLater = 2,
MalfunctionRepeat = 3,
MalfunctionLater = 4,
RequestDeviceStatusReport = 5,
RequestActivePositionReport = 6,
}
Expand description
Valid parameter values to the function DSR
.
Variants§
Ready = 0
The device is ready, no malfunction detected
BusyRepeat = 1
The device is busy, another DSR
must be requested later.
BusyLater = 2
The device is busy, another DSR
will be sent later.
MalfunctionRepeat = 3
Some malfunction detected, another DSR
must be requested later.
MalfunctionLater = 4
Some malfunction detected, another DSR
will be sent later.
RequestDeviceStatusReport = 5
A device status report is requested.
RequestActivePositionReport = 6
A report of the active presentation position or of the active data position in the form of ACTIVE POSITION
REPORT (CPR
) is requested.
Trait Implementations§
source§impl Clone for DeviceStatusReport
impl Clone for DeviceStatusReport
source§fn clone(&self) -> DeviceStatusReport
fn clone(&self) -> DeviceStatusReport
Returns a copy 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 Default for DeviceStatusReport
impl Default for DeviceStatusReport
source§fn default() -> DeviceStatusReport
fn default() -> DeviceStatusReport
Returns the “default value” for a type. Read more
source§impl PartialEq for DeviceStatusReport
impl PartialEq for DeviceStatusReport
source§fn eq(&self, other: &DeviceStatusReport) -> bool
fn eq(&self, other: &DeviceStatusReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DeviceStatusReport
impl Eq for DeviceStatusReport
impl StructuralEq for DeviceStatusReport
impl StructuralPartialEq for DeviceStatusReport
Auto Trait Implementations§
impl RefUnwindSafe for DeviceStatusReport
impl Send for DeviceStatusReport
impl Sync for DeviceStatusReport
impl Unpin for DeviceStatusReport
impl UnwindSafe for DeviceStatusReport
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