pub struct TemporaryParserArtifactProfile { /* private fields */ }Expand description
Owns cleanup of an artifact profile created from a temporary pack root.
Callers must either hold the parser-pack lifecycle’s exclusive lease or run
on an isolated host where no installed copy of the same artifact can be in
use. Normal control flow must call Self::cleanup; Drop is only a
best-effort fallback for unwinding or a forgotten terminal action.
Implementations§
Source§impl TemporaryParserArtifactProfile
impl TemporaryParserArtifactProfile
Sourcepub fn for_verified_supervisor(supervisor: &OptionalParserSupervisor) -> Self
pub fn for_verified_supervisor(supervisor: &OptionalParserSupervisor) -> Self
Arm cleanup ownership from an already verified parser artifact authority.
The caller must hold the lifecycle’s exclusive pack lease or run on an isolated verifier host before allowing packaged code to execute.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TemporaryParserArtifactProfile
impl RefUnwindSafe for TemporaryParserArtifactProfile
impl Send for TemporaryParserArtifactProfile
impl Sync for TemporaryParserArtifactProfile
impl Unpin for TemporaryParserArtifactProfile
impl UnwindSafe for TemporaryParserArtifactProfile
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