[−][src]Enum fdt_rs::error::DevTreeError
An error describe parsing problems when creating device trees.
Variants
InvalidParameter(&'static str)
The magic number FDT_MAGIC was not found at the start of the structure.
Unable to safely read data from the given device tree using the supplied offset
The data was not formatted as expected. This likely indicates an error in the Device Tree we're parsing.
StrError(Utf8Error)
While trying to convert a string that was supposed to be ASCII, invalid
str
sequences were encounter.
There wasn't enough memory to create a DevTreeIndex
.
Trait Implementations
impl Clone for DevTreeError
[src]
fn clone(&self) -> DevTreeError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DevTreeError
[src]
impl Debug for DevTreeError
[src]
impl Display for DevTreeError
[src]
impl Eq for DevTreeError
[src]
impl From<Utf8Error> for DevTreeError
[src]
fn from(e: Utf8Error) -> DevTreeError
[src]
impl PartialEq<DevTreeError> for DevTreeError
[src]
fn eq(&self, other: &DevTreeError) -> bool
[src]
fn ne(&self, other: &DevTreeError) -> bool
[src]
impl StructuralEq for DevTreeError
[src]
impl StructuralPartialEq for DevTreeError
[src]
Auto Trait Implementations
impl RefUnwindSafe for DevTreeError
impl Send for DevTreeError
impl Sync for DevTreeError
impl Unpin for DevTreeError
impl UnwindSafe for DevTreeError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,