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 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 Debug for DeviceStatusReport
impl Debug for DeviceStatusReport
Source§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 FromStr for DeviceStatusReport
impl FromStr for DeviceStatusReport
Source§impl PartialEq for DeviceStatusReport
impl PartialEq for DeviceStatusReport
impl Copy for DeviceStatusReport
impl Eq for DeviceStatusReport
impl StructuralPartialEq for DeviceStatusReport
Auto Trait Implementations§
impl Freeze for DeviceStatusReport
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