pub enum InstallError {
Archive(LoadError),
Io(Error),
Config(ConfigError),
Validation(ValidationError),
MemRepo(MemRepoWriteError),
ShadowsWritable {
archive_name: String,
shadows_writable: String,
},
}Variants§
Archive(LoadError)
Io(Error)
Config(ConfigError)
Validation(ValidationError)
MemRepo(MemRepoWriteError)
Mem-db tree write failed. Carries the underlying gix error message so callers can surface it without wrapping the variant.
ShadowsWritable
The archive’s
authoritative mem name (carried in its canonical config)
matches a writable mount that already exists in this
workspace. Registering the read-mem would silently shadow
(the engine’s boot-time hydrate_read_mems skips read-mem
names that collide with writable mounts), so the install
surface refuses up-front rather than registering a no-op.
An earlier message advised install to a different –mem-name target — but --mem-name selects the
host writable mem to register the read-mem into, not
the read-mem’s internal name. The flag cannot rename the
archive. The genuine recovery is to unregister or rename
the writable mount that shadows the archive’s internal name.
Trait Implementations§
Source§impl Debug for InstallError
impl Debug for InstallError
Source§impl Display for InstallError
impl Display for InstallError
Source§impl Error for InstallError
impl Error for InstallError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<ConfigError> for InstallError
impl From<ConfigError> for InstallError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Source§impl From<Error> for InstallError
impl From<Error> for InstallError
Source§impl From<LoadError> for InstallError
impl From<LoadError> for InstallError
Source§impl From<MemRepoWriteError> for InstallError
impl From<MemRepoWriteError> for InstallError
Source§fn from(source: MemRepoWriteError) -> Self
fn from(source: MemRepoWriteError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for InstallError
impl !UnwindSafe for InstallError
impl Freeze for InstallError
impl Send for InstallError
impl Sync for InstallError
impl Unpin for InstallError
impl UnsafeUnpin for InstallError
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> ErrorExt for T
impl<T> ErrorExt for T
impl<T> Fruit for T
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