pub trait ConfigVolatileFieldAccess<'a, A> {
// Required methods
fn mac(self) -> VolatilePtr<'a, [u8; 6], A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn status(self) -> VolatilePtr<'a, S, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn max_virtqueue_pairs(self) -> VolatilePtr<'a, le16, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn mtu(self) -> VolatilePtr<'a, le16, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn speed(self) -> VolatilePtr<'a, le32, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn duplex(self) -> VolatilePtr<'a, u8, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn rss_max_key_size(self) -> VolatilePtr<'a, u8, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn rss_max_indirection_table_length(
self,
) -> VolatilePtr<'a, le16, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn supported_hash_types(self) -> VolatilePtr<'a, le32, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn supported_tunnel_types(self) -> VolatilePtr<'a, le32, A::Restricted>
where A: RestrictAccess<ReadOnly>;
}Expand description
Network Device Configuration Layout
Use ConfigVolatileFieldAccess to work with this struct.
Required Methods§
fn mac(self) -> VolatilePtr<'a, [u8; 6], A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn status(self) -> VolatilePtr<'a, S, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn max_virtqueue_pairs(self) -> VolatilePtr<'a, le16, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn mtu(self) -> VolatilePtr<'a, le16, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn speed(self) -> VolatilePtr<'a, le32, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn duplex(self) -> VolatilePtr<'a, u8, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn rss_max_key_size(self) -> VolatilePtr<'a, u8, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn rss_max_indirection_table_length(
self,
) -> VolatilePtr<'a, le16, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn supported_hash_types(self) -> VolatilePtr<'a, le32, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn supported_tunnel_types(self) -> VolatilePtr<'a, le32, A::Restricted>where
A: RestrictAccess<ReadOnly>,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".