Enum casper_types::ParseSemVerError
source · pub enum ParseSemVerError {
InvalidVersionFormat,
ParseIntError(ParseIntError),
}
Expand description
Parsing error when creating a SemVer.
Variants§
Trait Implementations§
source§impl Clone for ParseSemVerError
impl Clone for ParseSemVerError
source§fn clone(&self) -> ParseSemVerError
fn clone(&self) -> ParseSemVerError
Returns a copy of the value. Read more
1.0.0 · 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 ParseSemVerError
impl Debug for ParseSemVerError
source§impl Display for ParseSemVerError
impl Display for ParseSemVerError
source§impl From<ParseIntError> for ParseSemVerError
impl From<ParseIntError> for ParseSemVerError
source§fn from(error: ParseIntError) -> ParseSemVerError
fn from(error: ParseIntError) -> ParseSemVerError
Converts to this type from the input type.
source§impl PartialEq for ParseSemVerError
impl PartialEq for ParseSemVerError
source§fn eq(&self, other: &ParseSemVerError) -> bool
fn eq(&self, other: &ParseSemVerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseSemVerError
impl StructuralEq for ParseSemVerError
impl StructuralPartialEq for ParseSemVerError
Auto Trait Implementations§
impl RefUnwindSafe for ParseSemVerError
impl Send for ParseSemVerError
impl Sync for ParseSemVerError
impl Unpin for ParseSemVerError
impl UnwindSafe for ParseSemVerError
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