pub enum VersionErrorKind {
MajorMismatch,
MinorTooNew,
}Expand description
Kinds of version compatibility errors.
Variants§
MajorMismatch
Major version mismatch (breaking change).
MinorTooNew
Required minor version is newer than provided.
Trait Implementations§
Source§impl Clone for VersionErrorKind
impl Clone for VersionErrorKind
Source§fn clone(&self) -> VersionErrorKind
fn clone(&self) -> VersionErrorKind
Returns a duplicate 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 VersionErrorKind
impl Debug for VersionErrorKind
Source§impl PartialEq for VersionErrorKind
impl PartialEq for VersionErrorKind
impl Copy for VersionErrorKind
impl Eq for VersionErrorKind
impl StructuralPartialEq for VersionErrorKind
Auto Trait Implementations§
impl Freeze for VersionErrorKind
impl RefUnwindSafe for VersionErrorKind
impl Send for VersionErrorKind
impl Sync for VersionErrorKind
impl Unpin for VersionErrorKind
impl UnsafeUnpin for VersionErrorKind
impl UnwindSafe for VersionErrorKind
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