netstack3_fuchsia

Trait InspectorDeviceIdProvider

Source
pub trait InspectorDeviceIdProvider<DeviceId> {
    // Required method
    fn device_id(id: &DeviceId) -> u64;
}
Expand description

Provides an abstract interface for extracting inspect device identifier.

Required Methods§

Source

fn device_id(id: &DeviceId) -> u64

Extracts the device identifier from the provided opaque type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§