#[non_exhaustive]pub struct Attempt {
pub path: PathBuf,
pub reason: String,
}Expand description
One place the loader tried a library file, and why it failed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: PathBufThe path or file name tried.
reason: StringThe system loader’s reason.
Trait Implementations§
impl Eq for Attempt
impl StructuralPartialEq for Attempt
Auto Trait Implementations§
impl Forget for Attempt
impl Freeze for Attempt
impl Move for Attempt
impl RefUnwindSafe for Attempt
impl Send for Attempt
impl Sync for Attempt
impl Unpin for Attempt
impl UnsafeUnpin for Attempt
impl UnwindSafe for Attempt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more