pub struct VersionPatternParseError { /* private fields */ }Expand description
An error that occurs when parsing a VersionPattern string fails.
Trait Implementations§
Source§impl Clone for VersionPatternParseError
impl Clone for VersionPatternParseError
Source§fn clone(&self) -> VersionPatternParseError
fn clone(&self) -> VersionPatternParseError
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 VersionPatternParseError
impl Debug for VersionPatternParseError
Source§impl Display for VersionPatternParseError
impl Display for VersionPatternParseError
Source§impl Error for VersionPatternParseError
impl Error for VersionPatternParseError
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<VersionParseError> for VersionPatternParseError
impl From<VersionParseError> for VersionPatternParseError
Source§fn from(err: VersionParseError) -> Self
fn from(err: VersionParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VersionPatternParseError
impl PartialEq for VersionPatternParseError
Source§fn eq(&self, other: &VersionPatternParseError) -> bool
fn eq(&self, other: &VersionPatternParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VersionPatternParseError
impl StructuralPartialEq for VersionPatternParseError
Auto Trait Implementations§
impl Freeze for VersionPatternParseError
impl RefUnwindSafe for VersionPatternParseError
impl Send for VersionPatternParseError
impl Sync for VersionPatternParseError
impl Unpin for VersionPatternParseError
impl UnsafeUnpin for VersionPatternParseError
impl UnwindSafe for VersionPatternParseError
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