pub struct VerifiedOptionalParserPackSelection { /* private fields */ }Expand description
Verified current-project handoff for runtime staging.
The handoff owns the already-open, still-unlaunched supervisor so runtime integration cannot accidentally reopen and rehash the exact selected slot.
Implementations§
Source§impl VerifiedOptionalParserPackSelection
impl VerifiedOptionalParserPackSelection
Sourcepub const fn selection_key(&self) -> &OptionalParserPackSelectionKey
pub const fn selection_key(&self) -> &OptionalParserPackSelectionKey
Borrow the durable content-free selected-slot key.
Sourcepub const fn artifact(&self) -> &ParserArtifactIdentity
pub const fn artifact(&self) -> &ParserArtifactIdentity
Borrow the verified artifact-manifest identity.
Sourcepub fn accepts_language(&self, language_id: &str) -> bool
pub fn accepts_language(&self, language_id: &str) -> bool
Return whether the selected artifact admits one canonical language identity.
Sourcepub fn supervisor_mut(&mut self) -> &mut OptionalParserSupervisor
pub fn supervisor_mut(&mut self) -> &mut OptionalParserSupervisor
Mutably borrow the already-open supervisor without releasing execution authority.
Auto Trait Implementations§
impl Freeze for VerifiedOptionalParserPackSelection
impl !RefUnwindSafe for VerifiedOptionalParserPackSelection
impl Send for VerifiedOptionalParserPackSelection
impl !Sync for VerifiedOptionalParserPackSelection
impl Unpin for VerifiedOptionalParserPackSelection
impl !UnwindSafe for VerifiedOptionalParserPackSelection
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