pub trait Sdt {
// Required methods
fn len(&self) -> usize;
fn write_to_guest<M: GuestMemory>(
&mut self,
mem: &M,
address: GuestAddress,
) -> Result<()>;
// Provided method
fn is_empty(&self) -> bool { ... }
}Expand description
A trait for functionality around System Descriptor Tables.
Required Methods§
Sourcefn write_to_guest<M: GuestMemory>(
&mut self,
mem: &M,
address: GuestAddress,
) -> Result<()>
fn write_to_guest<M: GuestMemory>( &mut self, mem: &M, address: GuestAddress, ) -> Result<()>
Write the table in guest memory
Provided Methods§
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.