pub struct AuthorizedPlan { /* private fields */ }Expand description
A compiled plan whose physical steps have been selected from, or checked
against, a trusted kernel registry. Structural AOT decoding deliberately
returns CompiledPlan; only local compilation or registry-bound decoding
can construct this executable wrapper.
Implementations§
Source§impl AuthorizedPlan
impl AuthorizedPlan
Sourcepub fn mcu_arena_requirements(
&self,
) -> Result<McuArenaRequirements, McuPlanError>
pub fn mcu_arena_requirements( &self, ) -> Result<McuArenaRequirements, McuPlanError>
Validate the firmware execution subset and return exact fixed-arena dimensions. This method performs no allocation.
Source§impl AuthorizedPlan
impl AuthorizedPlan
pub const fn as_plan(&self) -> &CompiledPlan
pub fn into_plan(self) -> CompiledPlan
Methods from Deref<Target = CompiledPlan>§
Sourcepub fn to_aot_bytes(&self) -> Result<Vec<u8>, PlanDecodeError>
pub fn to_aot_bytes(&self) -> Result<Vec<u8>, PlanDecodeError>
Deterministic AOT bytes. Ordered collections are fixed by compilation; postcard encodes the schema without host layout or pointer dependence.
Trait Implementations§
Source§impl Clone for AuthorizedPlan
impl Clone for AuthorizedPlan
Source§fn clone(&self) -> AuthorizedPlan
fn clone(&self) -> AuthorizedPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthorizedPlan
impl Debug for AuthorizedPlan
Source§impl Deref for AuthorizedPlan
impl Deref for AuthorizedPlan
impl Eq for AuthorizedPlan
Source§impl PartialEq for AuthorizedPlan
impl PartialEq for AuthorizedPlan
impl StructuralPartialEq for AuthorizedPlan
Auto Trait Implementations§
impl Freeze for AuthorizedPlan
impl RefUnwindSafe for AuthorizedPlan
impl Send for AuthorizedPlan
impl Sync for AuthorizedPlan
impl Unpin for AuthorizedPlan
impl UnsafeUnpin for AuthorizedPlan
impl UnwindSafe for AuthorizedPlan
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