Enum rustc_metadata::locator::CrateError[][src]

pub(crate) enum CrateError {
    NonAsciiName(Symbol),
    ExternLocationNotExist(SymbolPathBuf),
    ExternLocationNotFile(SymbolPathBuf),
    MultipleCandidates(SymbolCrateFlavorVec<PathBuf>),
    MultipleMatchingCrates(Symbol, FxHashMap<Svh, Library>),
    SymbolConflictsCurrent(Symbol),
    SymbolConflictsOthers(Symbol),
    StableCrateIdCollision(SymbolSymbol),
    DlOpen(String),
    DlSym(String),
    LocatorCombined(CombinedLocatorError),
    NonDylibPlugin(Symbol),
}

Variants

NonAsciiName(Symbol)

Tuple Fields of NonAsciiName

0: Symbol
ExternLocationNotExist(SymbolPathBuf)

Tuple Fields of ExternLocationNotExist

0: Symbol1: PathBuf
ExternLocationNotFile(SymbolPathBuf)

Tuple Fields of ExternLocationNotFile

0: Symbol1: PathBuf
MultipleCandidates(SymbolCrateFlavorVec<PathBuf>)

Tuple Fields of MultipleCandidates

0: Symbol1: CrateFlavor2: Vec<PathBuf>
MultipleMatchingCrates(Symbol, FxHashMap<Svh, Library>)

Tuple Fields of MultipleMatchingCrates

0: Symbol1: FxHashMap<Svh, Library>
SymbolConflictsCurrent(Symbol)

Tuple Fields of SymbolConflictsCurrent

0: Symbol
SymbolConflictsOthers(Symbol)

Tuple Fields of SymbolConflictsOthers

0: Symbol
StableCrateIdCollision(SymbolSymbol)

Tuple Fields of StableCrateIdCollision

0: Symbol1: Symbol
DlOpen(String)

Tuple Fields of DlOpen

0: String
DlSym(String)

Tuple Fields of DlSym

0: String
LocatorCombined(CombinedLocatorError)

Tuple Fields of LocatorCombined

0: CombinedLocatorError
NonDylibPlugin(Symbol)

Tuple Fields of NonDylibPlugin

0: Symbol

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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: