Enum guppy::errors::FeatureBuildStage[][src]

#[non_exhaustive]pub enum FeatureBuildStage {
    AddNamedFeatureEdges {
        package_id: PackageId,
        from_feature: String,
    },
    AddDependencyEdges {
        package_id: PackageId,
        dep_name: String,
    },
}

Describes the stage of construction at which a feature graph warning occurred.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AddNamedFeatureEdges

The warning occurred while adding edges for the [features] section of Cargo.toml.

Fields of AddNamedFeatureEdges

package_id: PackageId

The package ID for which edges were being added.

from_feature: String

The feature name from which edges were being added.

AddDependencyEdges

The warning occurred while adding dependency edges.

Fields of AddDependencyEdges

package_id: PackageId

The package ID for which edges were being added.

dep_name: String

The name of the dependency.

Trait Implementations

impl Clone for FeatureBuildStage[src]

impl Debug for FeatureBuildStage[src]

impl Display for FeatureBuildStage[src]

impl Eq for FeatureBuildStage[src]

impl Ord for FeatureBuildStage[src]

impl PartialEq<FeatureBuildStage> for FeatureBuildStage[src]

impl PartialOrd<FeatureBuildStage> for FeatureBuildStage[src]

impl StructuralEq for FeatureBuildStage[src]

impl StructuralPartialEq for FeatureBuildStage[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<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync
[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<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,