pub struct UnknownVersion(pub String);Expand description
The error from "2.4.7".parse::<Version>(): a version string that is
not one of the releases this crate knows.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for UnknownVersion
impl Clone for UnknownVersion
Source§fn clone(&self) -> UnknownVersion
fn clone(&self) -> UnknownVersion
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 UnknownVersion
impl Debug for UnknownVersion
Source§impl Display for UnknownVersion
impl Display for UnknownVersion
impl Eq for UnknownVersion
Source§impl Error for UnknownVersion
impl Error for UnknownVersion
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 PartialEq for UnknownVersion
impl PartialEq for UnknownVersion
impl StructuralPartialEq for UnknownVersion
Auto Trait Implementations§
impl Freeze for UnknownVersion
impl RefUnwindSafe for UnknownVersion
impl Send for UnknownVersion
impl Sync for UnknownVersion
impl Unpin for UnknownVersion
impl UnsafeUnpin for UnknownVersion
impl UnwindSafe for UnknownVersion
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