pub struct OpteeCompiler;Expand description
Compiler for OP-TEE Trusted Applications: builds the ELF then signs it.
Implementations§
Source§impl OpteeCompiler
impl OpteeCompiler
pub async fn build_with_reporter( config: OpteeConfiguration, reporter: Option<&dyn BuildReporter>, ) -> Result<PathBuf, OpteeCompileError>
Trait Implementations§
Source§impl Compiler for OpteeCompiler
impl Compiler for OpteeCompiler
Source§type Configuration = OpteeConfiguration
type Configuration = OpteeConfiguration
All build parameters for this compiler.
Source§type Error = OpteeCompileError
type Error = OpteeCompileError
Typed error returned from build operations.
Source§async fn build(config: Self::Configuration) -> Result<Self::Output, Self::Error>
async fn build(config: Self::Configuration) -> Result<Self::Output, Self::Error>
Run the full build and return the path to the primary artifact.
Source§async fn output_path(
config: &Self::Configuration,
) -> Result<PathBuf, Self::Error>
async fn output_path( config: &Self::Configuration, ) -> Result<PathBuf, Self::Error>
Return the expected output path without building.
Auto Trait Implementations§
impl Freeze for OpteeCompiler
impl RefUnwindSafe for OpteeCompiler
impl Send for OpteeCompiler
impl Sync for OpteeCompiler
impl Unpin for OpteeCompiler
impl UnsafeUnpin for OpteeCompiler
impl UnwindSafe for OpteeCompiler
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