Struct netlink_wi::wiphy::PhysicalDevice
source · pub struct PhysicalDevice {
pub wiphy_index: u32,
pub name: String,
pub generation: u32,
pub band_2ghz: Option<WifiBand>,
pub band_5ghz: Option<WifiBand>,
pub band_6ghz: Option<WifiBand>,
}
Expand description
Physical wireless device information returned from netlink.
Fields§
§wiphy_index: u32
Device index.
name: String
Device name.
generation: u32
Used to indicate consistent snapshots for dumps. This number increases whenever the object list being dumped changes.
band_2ghz: Option<WifiBand>
2.4 GHz band.
band_5ghz: Option<WifiBand>
5 GHz band.
band_6ghz: Option<WifiBand>
6 GHz band.
Trait Implementations§
source§impl Clone for PhysicalDevice
impl Clone for PhysicalDevice
source§fn clone(&self) -> PhysicalDevice
fn clone(&self) -> PhysicalDevice
Returns a copy 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 PhysicalDevice
impl Debug for PhysicalDevice
source§impl Default for PhysicalDevice
impl Default for PhysicalDevice
source§fn default() -> PhysicalDevice
fn default() -> PhysicalDevice
Returns the “default value” for a type. Read more
source§impl TryFrom<AttrHandle<'_, GenlBuffer<Attribute, Buffer>, Nlattr<Attribute, Buffer>>> for PhysicalDevice
impl TryFrom<AttrHandle<'_, GenlBuffer<Attribute, Buffer>, Nlattr<Attribute, Buffer>>> for PhysicalDevice
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDevice
impl Send for PhysicalDevice
impl Sync for PhysicalDevice
impl Unpin for PhysicalDevice
impl UnwindSafe for PhysicalDevice
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