Struct systemd_boot_conf::SystemdBootConf [−][src]
pub struct SystemdBootConf { pub efi_mount: Box<Path>, pub entries_path: Box<Path>, pub loader_path: Box<Path>, pub entries: Vec<Entry>, pub loader_conf: LoaderConf, }
Fields
efi_mount: Box<Path>
entries_path: Box<Path>
loader_path: Box<Path>
entries: Vec<Entry>
loader_conf: LoaderConf
Implementations
Find the boot entry which matches the current boot
Implementation
The current boot option is determined by a matching the entry’s initd and options
to /proc/cmdline
.
Validate that the default entry exists.
Validates that an entry exists with this name.
Get the entry that corresponds to the given name.
Get a mutable entry that corresponds to the given name.
Attempt to load all of the available entries in the system.
Overwrite the conf file with stored values.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SystemdBootConf
impl Send for SystemdBootConf
impl Sync for SystemdBootConf
impl Unpin for SystemdBootConf
impl UnwindSafe for SystemdBootConf
Blanket Implementations
Mutably borrows from an owned value. Read more