pub struct SetupRuntime { /* private fields */ }Expand description
Verified setup snapshot: discovery never starts proprietary code or grants consent.
Implementations§
Source§impl SetupRuntime
impl SetupRuntime
pub fn available(&self) -> bool
pub fn channel_available(&self) -> bool
pub fn enabled(&self) -> bool
Sourcepub fn deactivated(&self) -> bool
pub fn deactivated(&self) -> bool
Accepted once, then switched off with setup runtime deactivate:
setup leaves it off. From the configuration only, so a package that
no longer verifies never turns a switched-off runtime back on.
Sourcepub fn companions_pending(&self) -> bool
pub fn companions_pending(&self) -> bool
Enabled and verified, but the signed model set of its package is not installed (left for later, or a background load that failed). Never downloads; any error reads as “nothing pending”.
pub fn status(&self) -> &'static str
Sourcepub fn enable(&self) -> Result<Value, InstallError>
pub fn enable(&self) -> Result<Value, InstallError>
The caller must obtain explicit consent for this captured, trusted selection.
Sourcepub fn install_and_enable(&self) -> Result<Value, InstallError>
pub fn install_and_enable(&self) -> Result<Value, InstallError>
Called only after explicit consent; discovery itself never uses the network.
Sourcepub fn install_runtime_and_enable(&self) -> Result<Value, InstallError>
pub fn install_runtime_and_enable(&self) -> Result<Value, InstallError>
As Self::install_and_enable for setup (owner decision
23.11.2026): the runtime only, so setup stays fast with or without
a terminal; the companions of a v4 package (hundreds of megabytes)
are left for load_companions in the background. The result’s
installation.semantic_models_reason is then
COMPANIONS_LATER.
Auto Trait Implementations§
impl Forget for SetupRuntime
impl Freeze for SetupRuntime
impl Move for SetupRuntime
impl RefUnwindSafe for SetupRuntime
impl Send for SetupRuntime
impl Sync for SetupRuntime
impl Unpin for SetupRuntime
impl UnsafeUnpin for SetupRuntime
impl UnwindSafe for SetupRuntime
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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> ⓘ
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> ⓘ
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