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

0: Symbol

ExternLocationNotExist(Symbol, PathBuf)

Tuple Fields

0: Symbol

ExternLocationNotFile(Symbol, PathBuf)

Tuple Fields

0: Symbol

MultipleCandidates(Symbol, CrateFlavor, Vec<PathBuf>)

Tuple Fields

0: Symbol

MultipleMatchingCrates(Symbol, FxHashMap<Svh, Library>)

Tuple Fields

0: Symbol
1: FxHashMap<Svh, Library>

SymbolConflictsCurrent(Symbol)

Tuple Fields

0: Symbol

SymbolConflictsOthers(Symbol)

Tuple Fields

0: Symbol

StableCrateIdCollision(Symbol, Symbol)

Tuple Fields

0: Symbol
1: Symbol

DlOpen(String)

Tuple Fields

0: String

DlSym(String)

Tuple Fields

0: String

LocatorCombined(CombinedLocatorError)

Tuple Fields

NonDylibPlugin(Symbol)

Tuple Fields

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: 344 bytes

Size for each variant:

  • NonAsciiName: 7 bytes
  • ExternLocationNotExist: 31 bytes
  • ExternLocationNotFile: 31 bytes
  • MultipleCandidates: 31 bytes
  • MultipleMatchingCrates: 39 bytes
  • SymbolConflictsCurrent: 7 bytes
  • SymbolConflictsOthers: 7 bytes
  • StableCrateIdCollision: 11 bytes
  • DlOpen: 31 bytes
  • DlSym: 31 bytes
  • LocatorCombined: 343 bytes
  • NonDylibPlugin: 7 bytes