Enum rustc_metadata::locator::CrateError [−][src]
pub(crate) enum CrateError {
NonAsciiName(Symbol),
ExternLocationNotExist(Symbol, PathBuf),
ExternLocationNotFile(Symbol, PathBuf),
MultipleCandidates(Symbol, CrateFlavor, Vec<PathBuf>),
MultipleMatchingCrates(Symbol, FxHashMap<Svh, Library>),
SymbolConflictsCurrent(Symbol),
SymbolConflictsOthers(Symbol),
StableCrateIdCollision(Symbol, Symbol),
DlOpen(String),
DlSym(String),
LocatorCombined(CombinedLocatorError),
NonDylibPlugin(Symbol),
}Variants
NonAsciiName(Symbol)Tuple Fields of NonAsciiName
0: SymbolMultipleCandidates(Symbol, CrateFlavor, Vec<PathBuf>)Tuple Fields of MultipleCandidates
SymbolConflictsCurrent(Symbol)Tuple Fields of SymbolConflictsCurrent
0: SymbolSymbolConflictsOthers(Symbol)Tuple Fields of SymbolConflictsOthers
0: SymbolDlOpen(String)Tuple Fields of DlOpen
0: StringDlSym(String)Tuple Fields of DlSym
0: StringLocatorCombined(CombinedLocatorError)Tuple Fields of LocatorCombined
NonDylibPlugin(Symbol)Tuple Fields of NonDylibPlugin
0: SymbolImplementations
Auto Trait Implementations
impl !RefUnwindSafe for CrateError
impl !Send for CrateError
impl !Sync for CrateError
impl Unpin for CrateError
impl !UnwindSafe for CrateError
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 320 bytes
Size for each variant:
NonAsciiName: 7 bytesExternLocationNotExist: 31 bytesExternLocationNotFile: 31 bytesMultipleCandidates: 31 bytesMultipleMatchingCrates: 39 bytesSymbolConflictsCurrent: 7 bytesSymbolConflictsOthers: 7 bytesStableCrateIdCollision: 11 bytesDlOpen: 31 bytesDlSym: 31 bytesLocatorCombined: 319 bytesNonDylibPlugin: 7 bytes