pub struct BluetoothDiagnostics {
pub platform: String,
pub platform_config: PlatformConfigSnapshot,
pub adapter_info: AdapterInfo,
pub connection_stats: ConnectionStats,
pub operation_stats: OperationStats,
pub recent_errors: Vec<RecordedError>,
pub collected_at: u64,
pub uptime_secs: u64,
}Expand description
Complete Bluetooth diagnostics snapshot.
Fields§
§platform: StringCurrent platform.
platform_config: PlatformConfigSnapshotPlatform-specific configuration.
adapter_info: AdapterInfoAdapter information.
connection_stats: ConnectionStatsConnection statistics.
operation_stats: OperationStatsOperation statistics.
recent_errors: Vec<RecordedError>Recent errors (most recent first).
collected_at: u64Timestamp when diagnostics were collected (Unix millis).
uptime_secs: u64Uptime of the diagnostics collector in seconds.
Trait Implementations§
Source§impl Clone for BluetoothDiagnostics
impl Clone for BluetoothDiagnostics
Source§fn clone(&self) -> BluetoothDiagnostics
fn clone(&self) -> BluetoothDiagnostics
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 BluetoothDiagnostics
impl Debug for BluetoothDiagnostics
Source§impl<'de> Deserialize<'de> for BluetoothDiagnostics
impl<'de> Deserialize<'de> for BluetoothDiagnostics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BluetoothDiagnostics
impl RefUnwindSafe for BluetoothDiagnostics
impl Send for BluetoothDiagnostics
impl Sync for BluetoothDiagnostics
impl Unpin for BluetoothDiagnostics
impl UnwindSafe for BluetoothDiagnostics
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