pub enum PipelineError {
Show 15 variants
ManifestRead {
path: String,
source: Error,
},
Cfg(Box<CfgError>),
Firmware(FirmwareCompileError),
Application(ApplicationCompileError),
Optee(OpteeCompileError),
Hmi(HmiCompileError),
Dist(DistAssemblyError),
Dtc(DtcError),
Bitbake(BitbakeError),
GeneratedWrite {
path: String,
source: Error,
},
DbgCoreNotBuilt(String),
MissingEndpoint(String),
MissingTeeToolchain,
UnknownCore(String),
Codegen(String),
}Expand description
Aggregate error for the build pipeline.
Variants§
ManifestRead
Reading the manifest file failed.
Cfg(Box<CfgError>)
Parsing/validating the manifest or lowering it failed.
Firmware(FirmwareCompileError)
Firmware compilation failed.
Application(ApplicationCompileError)
Application compilation failed.
Optee(OpteeCompileError)
OP-TEE TA compilation/signing failed.
Hmi(HmiCompileError)
HMI frontend compilation failed.
Dist(DistAssemblyError)
Assembling the dist/ tree failed.
Dtc(DtcError)
Bitbake(BitbakeError)
The bitbake hand-off failed.
GeneratedWrite
Writing a generated module into a crate failed.
DbgCoreNotBuilt(String)
A [dbg.<core>] core was not built in Stage 1 (typically a manager core).
MissingEndpoint(String)
A required [endpoints] entry is missing.
MissingTeeToolchain
A [tee] section is present but no OP-TEE toolchain was supplied.
UnknownCore(String)
A core name could not be resolved.
Codegen(String)
Code generation produced invalid tokens or a path could not be resolved.
Trait Implementations§
Source§impl Debug for PipelineError
impl Debug for PipelineError
Source§impl Display for PipelineError
impl Display for PipelineError
Source§impl Error for PipelineError
impl Error for PipelineError
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<ApplicationCompileError> for PipelineError
impl From<ApplicationCompileError> for PipelineError
Source§fn from(source: ApplicationCompileError) -> Self
fn from(source: ApplicationCompileError) -> Self
Converts to this type from the input type.
Source§impl From<BitbakeError> for PipelineError
impl From<BitbakeError> for PipelineError
Source§fn from(source: BitbakeError) -> Self
fn from(source: BitbakeError) -> Self
Converts to this type from the input type.
Source§impl From<CfgError> for PipelineError
impl From<CfgError> for PipelineError
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.
Source§impl From<DtcError> for PipelineError
impl From<DtcError> for PipelineError
Source§impl From<FirmwareCompileError> for PipelineError
impl From<FirmwareCompileError> for PipelineError
Source§fn from(source: FirmwareCompileError) -> Self
fn from(source: FirmwareCompileError) -> Self
Converts to this type from the input type.
Source§impl From<HmiCompileError> for PipelineError
impl From<HmiCompileError> for PipelineError
Source§fn from(source: HmiCompileError) -> Self
fn from(source: HmiCompileError) -> Self
Converts to this type from the input type.
Source§impl From<OpteeCompileError> for PipelineError
impl From<OpteeCompileError> for PipelineError
Source§fn from(source: OpteeCompileError) -> Self
fn from(source: OpteeCompileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PipelineError
impl !UnwindSafe for PipelineError
impl Freeze for PipelineError
impl Send for PipelineError
impl Sync for PipelineError
impl Unpin for PipelineError
impl UnsafeUnpin for PipelineError
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