pub struct VersionRequirementError(/* private fields */);Expand description
An error parsing a VersionRequirement.
Trait Implementations§
Source§impl Debug for VersionRequirementError
impl Debug for VersionRequirementError
Source§impl Display for VersionRequirementError
impl Display for VersionRequirementError
Source§impl Error for VersionRequirementError
impl Error for VersionRequirementError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<VersionRequirementError> for DependencySourceError
impl From<VersionRequirementError> for DependencySourceError
Source§fn from(source: VersionRequirementError) -> Self
fn from(source: VersionRequirementError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VersionRequirementError
impl RefUnwindSafe for VersionRequirementError
impl Send for VersionRequirementError
impl Sync for VersionRequirementError
impl Unpin for VersionRequirementError
impl UnsafeUnpin for VersionRequirementError
impl UnwindSafe for VersionRequirementError
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