struct OptionalParserRuntime {
state: OptionalParserRuntimeState,
}Expand description
Synchronous coordinator protected for exactly one optional job group at a time.
Fields§
§state: OptionalParserRuntimeStateCurrent process-wide worker state.
Implementations§
Source§impl OptionalParserRuntime
impl OptionalParserRuntime
Sourcefn activate(
&mut self,
verified: VerifiedOptionalParserPackSelection,
) -> Result<(), ParserSupervisorError>
fn activate( &mut self, verified: VerifiedOptionalParserPackSelection, ) -> Result<(), ParserSupervisorError>
Activate one verified selection, reusing only the exact same immutable artifact.
Sourcefn deactivate(&mut self) -> Result<(), ParserSupervisorError>
fn deactivate(&mut self) -> Result<(), ParserSupervisorError>
Shut down a resident selection while keeping default-core work available.
Sourcefn quarantine(&mut self) -> Result<(), ParserSupervisorError>
fn quarantine(&mut self) -> Result<(), ParserSupervisorError>
Mark poisoned or cleanup-uncertain state unavailable after one best-effort shutdown.
Auto Trait Implementations§
impl Freeze for OptionalParserRuntime
impl !RefUnwindSafe for OptionalParserRuntime
impl Send for OptionalParserRuntime
impl !Sync for OptionalParserRuntime
impl Unpin for OptionalParserRuntime
impl !UnwindSafe for OptionalParserRuntime
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more