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

Tuple Fields of NonAsciiName

0: Symbol
ExternLocationNotExist

Tuple Fields of ExternLocationNotExist

0: Symbol1: PathBuf
ExternLocationNotFile

Tuple Fields of ExternLocationNotFile

0: Symbol1: PathBuf
MultipleCandidates

Tuple Fields of MultipleCandidates

0: Symbol1: CrateFlavor2: Vec<PathBuf>
MultipleMatchingCrates

Tuple Fields of MultipleMatchingCrates

0: Symbol1: FxHashMap<Svh, Library>
SymbolConflictsCurrent

Tuple Fields of SymbolConflictsCurrent

0: Symbol
SymbolConflictsOthers

Tuple Fields of SymbolConflictsOthers

0: Symbol
StableCrateIdCollision

Tuple Fields of StableCrateIdCollision

0: Symbol1: Symbol
DlOpen

Tuple Fields of DlOpen

0: String
DlSym

Tuple Fields of DlSym

0: String
LocatorCombined

Tuple Fields of LocatorCombined

0: CombinedLocatorError
NonDylibPlugin

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 be different between compiler versions and platforms. 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