pub struct UninstallOptions {
pub keep_rocm: bool,
pub yes: bool,
pub purge_mlstack_dir: bool,
}Expand description
Options for uninstall_stack.
Fields§
§keep_rocm: boolKeep ROCm/amdgpu system packages and /opt/rocm (only remove Python +
env/registry). Useful when reinstalling just the Python stack.
yes: boolSkip the interactive confirmation prompt.
purge_mlstack_dir: boolAlso remove the ~/.mlstack/ data root (logs, cache, global venv).
Off by default — preserves logs/diagnostics across reinstalls.
Trait Implementations§
Source§impl Clone for UninstallOptions
impl Clone for UninstallOptions
Source§fn clone(&self) -> UninstallOptions
fn clone(&self) -> UninstallOptions
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 UninstallOptions
impl Debug for UninstallOptions
Source§impl Default for UninstallOptions
impl Default for UninstallOptions
Source§fn default() -> UninstallOptions
fn default() -> UninstallOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UninstallOptions
impl RefUnwindSafe for UninstallOptions
impl Send for UninstallOptions
impl Sync for UninstallOptions
impl Unpin for UninstallOptions
impl UnsafeUnpin for UninstallOptions
impl UnwindSafe for UninstallOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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