pub struct DtboOption {
pub path: PathBuf,
pub select_symbols: Option<Vec<String>>,
pub filter: bool,
}Expand description
Device tree overlay configuration.
Fields§
§path: PathBufOverlay file to apply to the base device tree.
select_symbols: Option<Vec<String>>Labels of nodes to include in the final device tree.
filter: boolWhether to only apply device tree nodes which belong to a VFIO device.
Trait Implementations§
Source§impl Debug for DtboOption
impl Debug for DtboOption
Source§impl Default for DtboOption
impl Default for DtboOption
Source§fn default() -> DtboOption
fn default() -> DtboOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DtboOption
impl<'de> Deserialize<'de> for DtboOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromArgValue for DtboOption
impl FromArgValue for DtboOption
Auto Trait Implementations§
impl Freeze for DtboOption
impl RefUnwindSafe for DtboOption
impl Send for DtboOption
impl Sync for DtboOption
impl Unpin for DtboOption
impl UnwindSafe for DtboOption
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