pub struct LoadedModule {
pub name: String,
pub path: PathBuf,
pub kind: LoadedKind,
pub build_id: String,
}Expand description
One installed dependency.
Fields§
§name: StringThe declared name.
path: PathBufThe library file that was opened, or the running executable for a module that was compiled into it.
kind: LoadedKindWhich kind the search found.
build_id: StringThe build id an engine-locked module reported; equal to the engine’s own. Empty for the other two kinds: a portable plugin’s handshake is the ABI and wire versions instead, and a compiled-in module is this build.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadedModule
impl RefUnwindSafe for LoadedModule
impl Send for LoadedModule
impl Sync for LoadedModule
impl Unpin for LoadedModule
impl UnsafeUnpin for LoadedModule
impl UnwindSafe for LoadedModule
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.