pub enum Role {
File,
Kernel,
Firmware,
Config,
}Expand description
How the device should treat an entry.
The byte values are wire values and say nothing about the order entries are written in — that order is the installer’s, and it is not this one.
Variants§
File
Anything the application owns: assets, settings, data.
Kernel
The boot image, to be routed to whichever kernel slot is not running. At most one per bundle.
Firmware
A Raspberry Pi firmware file — bootcode.bin, start*.elf,
fixup*.dat.
Config
config.txt. At most one per bundle, because the installer edits
the file this entry lands as.
Implementations§
Trait Implementations§
impl Copy for Role
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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