[][src]Enum cargo_lock::lockfile::version::ResolveVersion

pub enum ResolveVersion {
    V1,
    V2,
}

Lockfile versions

Variants

V1

The original Cargo.lock format which places checksums in the [[metadata]] table.

V2

The new Cargo.lock format which is optimized to prevent merge conflicts. For more information, see:

https://github.com/rust-lang/cargo/pull/7070

Trait Implementations

impl Clone for ResolveVersion[src]

impl Copy for ResolveVersion[src]

impl Debug for ResolveVersion[src]

impl Default for ResolveVersion[src]

V2 format is now the default.

See: https://github.com/rust-lang/cargo/pull/7579

impl<'de> Deserialize<'de> for ResolveVersion[src]

impl Eq for ResolveVersion[src]

impl FromStr for ResolveVersion[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for ResolveVersion[src]

impl Ord for ResolveVersion[src]

impl PartialEq<ResolveVersion> for ResolveVersion[src]

impl PartialOrd<ResolveVersion> for ResolveVersion[src]

impl Serialize for ResolveVersion[src]

impl StructuralEq for ResolveVersion[src]

impl StructuralPartialEq for ResolveVersion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.