pub struct DeviceReport { /* private fields */ }Implementations§
Source§impl DeviceReport
impl DeviceReport
pub fn apply(&mut self, command: u8, payload: &[u8])
pub const fn detected(&self) -> bool
pub const fn selected(&self) -> VPort
pub const fn platform(&self) -> Option<DevicePlatform>
pub fn interfaces(&self) -> &ReportedInterfaces
pub const fn radio(&self, vport: VPort) -> RadioReport
pub const fn firmware_ok(&self) -> Option<bool>
pub const fn firmware_version(&self) -> Option<FirmwareVersion>
Trait Implementations§
Source§impl Clone for DeviceReport
impl Clone for DeviceReport
Source§fn clone(&self) -> DeviceReport
fn clone(&self) -> DeviceReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceReport
impl Debug for DeviceReport
Source§impl Default for DeviceReport
impl Default for DeviceReport
Source§fn default() -> DeviceReport
fn default() -> DeviceReport
Returns the “default value” for a type. Read more
impl Eq for DeviceReport
Source§impl PartialEq for DeviceReport
impl PartialEq for DeviceReport
impl StructuralPartialEq for DeviceReport
Auto Trait Implementations§
impl Freeze for DeviceReport
impl RefUnwindSafe for DeviceReport
impl Send for DeviceReport
impl Sync for DeviceReport
impl Unpin for DeviceReport
impl UnsafeUnpin for DeviceReport
impl UnwindSafe for DeviceReport
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