pub enum FdtError {
BadMagic,
BadPtr,
BufferTooSmall,
}
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
BufferTooSmall
The slice passed in was too small to fit the given total size of the FDT structure
Trait Implementations§
impl Copy for FdtError
impl StructuralPartialEq for FdtError
Auto Trait Implementations§
impl Freeze for FdtError
impl RefUnwindSafe for FdtError
impl Send for FdtError
impl Sync for FdtError
impl Unpin for FdtError
impl UnwindSafe for FdtError
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