pub struct DeviceStatus {
pub ammount_in_rx_queue: u32,
pub ammount_in_tx_queue: u32,
pub event_status: u32,
}Expand description
FTDI device status.
This is returned by status.
Fields§
§ammount_in_rx_queue: u32Number of characters in the receive queue.
ammount_in_tx_queue: u32Number of characters in the transmit queue.
event_status: u32Current state of the event status.
Trait Implementations§
Source§impl Clone for DeviceStatus
impl Clone for DeviceStatus
Source§fn clone(&self) -> DeviceStatus
fn clone(&self) -> DeviceStatus
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 DeviceStatus
impl Debug for DeviceStatus
Source§impl Ord for DeviceStatus
impl Ord for DeviceStatus
Source§fn cmp(&self, other: &DeviceStatus) -> Ordering
fn cmp(&self, other: &DeviceStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DeviceStatus
impl PartialEq for DeviceStatus
Source§impl PartialOrd for DeviceStatus
impl PartialOrd for DeviceStatus
impl Copy for DeviceStatus
impl Eq for DeviceStatus
impl StructuralPartialEq for DeviceStatus
Auto Trait Implementations§
impl Freeze for DeviceStatus
impl RefUnwindSafe for DeviceStatus
impl Send for DeviceStatus
impl Sync for DeviceStatus
impl Unpin for DeviceStatus
impl UnwindSafe for DeviceStatus
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