pub enum DistAssemblyError {
Io {
path: String,
source: Error,
},
CppNotFound,
DtcNotFound,
DtsVerify {
name: String,
message: String,
},
}Expand description
Error type for assembling the dist/ tree.
Variants§
Io
A filesystem operation failed.
CppNotFound
The C preprocessor is needed to resolve the overlay’s dt-bindings
macros before dtc, but was not found on PATH.
DtcNotFound
dtc (the device-tree compiler) was not found on PATH.
DtsVerify
dtc (or cpp) rejected a generated overlay.
Trait Implementations§
Source§impl Debug for DistAssemblyError
impl Debug for DistAssemblyError
Source§impl Display for DistAssemblyError
impl Display for DistAssemblyError
Source§impl Error for DistAssemblyError
impl Error for DistAssemblyError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<DistAssemblyError> for BitbakeError
impl From<DistAssemblyError> for BitbakeError
Source§fn from(source: DistAssemblyError) -> Self
fn from(source: DistAssemblyError) -> Self
Converts to this type from the input type.
Source§impl From<DistAssemblyError> for PipelineError
impl From<DistAssemblyError> for PipelineError
Source§fn from(source: DistAssemblyError) -> Self
fn from(source: DistAssemblyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DistAssemblyError
impl !UnwindSafe for DistAssemblyError
impl Freeze for DistAssemblyError
impl Send for DistAssemblyError
impl Sync for DistAssemblyError
impl Unpin for DistAssemblyError
impl UnsafeUnpin for DistAssemblyError
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