Enum rustc_metadata::locator::CrateError
source · [−]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)
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)
Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
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: 376 bytes
Size for each variant:
NonAsciiName
: 4 bytesExternLocationNotExist
: 32 bytesExternLocationNotFile
: 32 bytesMultipleCandidates
: 32 bytesMultipleMatchingCrates
: 40 bytesSymbolConflictsCurrent
: 4 bytesSymbolConflictsOthers
: 4 bytesStableCrateIdCollision
: 8 bytesDlOpen
: 24 bytesDlSym
: 24 bytesLocatorCombined
: 376 bytesNonDylibPlugin
: 4 bytes