pub struct EncodableResolve { /* private fields */ }
Expand description

The Cargo.lock structure.

Implementations

Convert a Cargo.lock to a Resolve.

Note that this Resolve is not “complete”. For example, the dependencies do not know the difference between regular/dev/build dependencies, so they are not filled in. It also does not include features. Care should be taken when using this Resolve. One of the primary uses is to be used with resolve_with_previous to guide the resolver to create a complete Resolve.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.