pub trait ConfigVolatileFieldAccess<'a, A> {
// Required methods
fn num_pages(self) -> VolatilePtr<'a, le32, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn actual(self) -> VolatilePtr<'a, le32, A::Restricted>
where A: RestrictAccess<ReadWrite>;
fn free_page_hint_cmd_id(self) -> VolatilePtr<'a, le32, A::Restricted>
where A: RestrictAccess<ReadOnly>;
fn poison_val(self) -> VolatilePtr<'a, le32, A::Restricted>
where A: RestrictAccess<ReadWrite>;
}Expand description
Traditional Memory Balloon Device Configuration Layout
Use ConfigVolatileFieldAccess to work with this struct.
Required Methods§
fn num_pages(self) -> VolatilePtr<'a, le32, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn actual(self) -> VolatilePtr<'a, le32, A::Restricted>where
A: RestrictAccess<ReadWrite>,
fn free_page_hint_cmd_id(self) -> VolatilePtr<'a, le32, A::Restricted>where
A: RestrictAccess<ReadOnly>,
fn poison_val(self) -> VolatilePtr<'a, le32, A::Restricted>where
A: RestrictAccess<ReadWrite>,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".