pub enum LinkManifestAssemblyError {
Show 14 variants
NonRootRole(ArtifactRole),
RelativeRootArtifact(PathBuf),
Join(UnitArtifactJoinError),
UnknownRootUnit(DescriptorCargoUnitId),
RootArtifactNotEnumerated {
unit: DescriptorCargoUnitId,
path: PathBuf,
},
MissingCargoFilename(PathBuf),
HashArtifact {
path: PathBuf,
source: Error,
},
UnresolvedDependencyArtifact {
unit: DescriptorCargoUnitId,
extern_name: String,
path: PathBuf,
artifact_hash: String,
},
AmbiguousDependencyArtifact {
unit: DescriptorCargoUnitId,
extern_name: String,
path: PathBuf,
artifact_hash: String,
matches: usize,
},
DependencyArtifactHashMismatch {
unit: DescriptorCargoUnitId,
extern_name: String,
path: PathBuf,
expected: String,
actual: String,
},
SelfDependency {
unit: DescriptorCargoUnitId,
extern_name: String,
},
UnknownReachableUnit(DescriptorCargoUnitId),
ReachabilityInvariant {
from: DescriptorCargoUnitId,
to: DescriptorCargoUnitId,
},
InvalidManifest(BuildIdentityError),
}Expand description
Failure while constructing one root’s exact external link manifest.
Variants§
NonRootRole(ArtifactRole)
Caller supplied a dependency role for the selected root.
RelativeRootArtifact(PathBuf)
Root path must come directly from Cargo.
Join(UnitArtifactJoinError)
Sidecar/Cargo freshness join failed.
UnknownRootUnit(DescriptorCargoUnitId)
Root unit was not part of the joined invocation.
RootArtifactNotEnumerated
Root path was not in that unit’s Cargo message.
MissingCargoFilename(PathBuf)
Cargo advertised a missing file.
HashArtifact
Exact artifact hashing failed.
UnresolvedDependencyArtifact
An extern input did not correspond to a sidecar-backed Cargo artifact.
Fields
§
unit: DescriptorCargoUnitIdConsumer.
AmbiguousDependencyArtifact
An exact dependency path was enumerated by multiple units.
Fields
§
unit: DescriptorCargoUnitIdConsumer.
DependencyArtifactHashMismatch
A Cargo-enumerated extern changed after the wrapper captured its input.
Fields
§
unit: DescriptorCargoUnitIdConsumer.
SelfDependency
Cargo graph must not self-reference.
UnknownReachableUnit(DescriptorCargoUnitId)
Reached an ID with no wrapper sidecar.
ReachabilityInvariant
Internal closure bug.
InvalidManifest(BuildIdentityError)
Canonical manifest validation failed.
Trait Implementations§
Source§impl Debug for LinkManifestAssemblyError
impl Debug for LinkManifestAssemblyError
Source§impl Display for LinkManifestAssemblyError
impl Display for LinkManifestAssemblyError
Source§impl Error for LinkManifestAssemblyError
impl Error for LinkManifestAssemblyError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for LinkManifestAssemblyError
impl !UnwindSafe for LinkManifestAssemblyError
impl Freeze for LinkManifestAssemblyError
impl Send for LinkManifestAssemblyError
impl Sync for LinkManifestAssemblyError
impl Unpin for LinkManifestAssemblyError
impl UnsafeUnpin for LinkManifestAssemblyError
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> 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