Skip to main content

ConfigVolatileFieldAccess

Trait ConfigVolatileFieldAccess 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, A> ConfigVolatileFieldAccess<'a, A> for VolatilePtr<'a, Config, A>

Implementors§