pub enum Error {
}
Expand description
Possible errors when attempting to create an Fdt
.
Variants§
BadMagic
The FDT had an invalid magic value.
BadPtr
The given pointer was null.
BadCell
Invalid cell encoding.
BadCellSize(usize)
Unsupported cell size.
BadPropTag((u32, u32))
Bad property tag.
BufferTooSmall
The slice passed in was too small to fit the given total size of the FDT structure.
CpuNoReg
cpu
node is missing a reg
property.
CpuNoClockHz
cpu
node is missing a clock-frequency
property.
CpuNoTimebaseHz
cpu
node is missing a timebase-frequency
property.
MappedNoEffectiveAddr
mapped-area
property is missing effective address value.
MappedNoPhysicalAddr
mapped-area
property is missing physical address value.
MappedNoSize
mapped-area
property is missing size value.
MemoryNoInitialMapped
memory
node missing a initial-mapped-area
property.
MissingProperty
Node missing property.
MissingRoot
Missing root
node.
MissingChosen
Missing chosen
node.
MissingMemory
Missing memory
node.
Trait Implementations§
impl Copy for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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