pub struct AcpiTable { /* private fields */ }Expand description
Add ACPI table with specified header fields and context from specified files. For file=, take whole ACPI table from the specified files, including all ACPI headers (possible overridden by other options). For data=, only data portion of the table is used, all header information is specified in the command line. If a SLIC table is supplied to QEMU, then the SLIC’s oem_id and oem_table_id fields will override the same in the RSDT and the FADT (a.k.a. FACP), in order to ensure the field matches required by the Microsoft SLIC spec and the ACPI spec.
Implementations§
Trait Implementations§
Source§impl Arbitrary for AcpiTable
impl Arbitrary for AcpiTable
Source§type Parameters = (<Option<ShellString> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<AcpiTableData> as Arbitrary>::Parameters)
type Parameters = (<Option<ShellString> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<ShellString> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<AcpiTableData> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<Option<ShellString> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, Filter<<Option<AcpiTableData> as Arbitrary>::Strategy, fn(&Option<AcpiTableData>) -> bool>), fn((Option<ShellString>, Option<usize>, Option<ShellString>, Option<ShellString>, Option<usize>, Option<ShellString>, Option<usize>, Option<AcpiTableData>)) -> AcpiTable>
type Strategy = Map<(<Option<ShellString> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<ShellString> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, Filter<<Option<AcpiTableData> as Arbitrary>::Strategy, fn(&Option<AcpiTableData>) -> bool>), fn((Option<ShellString>, Option<usize>, Option<ShellString>, Option<ShellString>, Option<usize>, Option<ShellString>, Option<usize>, Option<AcpiTableData>)) -> AcpiTable>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Ord for AcpiTable
impl Ord for AcpiTable
Source§impl PartialOrd for AcpiTable
impl PartialOrd for AcpiTable
Source§impl ToCommand for AcpiTable
impl ToCommand for AcpiTable
fn has_args(&self) -> bool
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
Stringimpl Eq for AcpiTable
impl StructuralPartialEq for AcpiTable
Auto Trait Implementations§
impl Freeze for AcpiTable
impl RefUnwindSafe for AcpiTable
impl Send for AcpiTable
impl Sync for AcpiTable
impl Unpin for AcpiTable
impl UnsafeUnpin for AcpiTable
impl UnwindSafe for AcpiTable
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