pub struct MissingPerlModule {
pub filename: Option<String>,
pub module: String,
pub inc: Option<Vec<String>>,
pub minimum_version: Option<String>,
}Expand description
Problem representing a missing Perl module.
This struct is used when a Perl script requires a module that is not installed or cannot be found in the include paths.
Fields§
§filename: Option<String>The name of the file where the module is required, if known.
module: StringThe name of the missing Perl module.
inc: Option<Vec<String>>The include paths that were searched, if available.
minimum_version: Option<String>The minimum version of the module required, if specified.
Implementations§
Trait Implementations§
Source§impl Clone for MissingPerlModule
impl Clone for MissingPerlModule
Source§fn clone(&self) -> MissingPerlModule
fn clone(&self) -> MissingPerlModule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MissingPerlModule
impl Debug for MissingPerlModule
Source§impl Display for MissingPerlModule
impl Display for MissingPerlModule
Source§impl Problem for MissingPerlModule
impl Problem for MissingPerlModule
Source§fn is_universal(&self) -> bool
fn is_universal(&self) -> bool
Is this problem universal, i.e. applicable to all build steps? Read more
Auto Trait Implementations§
impl Freeze for MissingPerlModule
impl RefUnwindSafe for MissingPerlModule
impl Send for MissingPerlModule
impl Sync for MissingPerlModule
impl Unpin for MissingPerlModule
impl UnsafeUnpin for MissingPerlModule
impl UnwindSafe for MissingPerlModule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more