Enum semantic_release_rust::CargoTomlError[][src]

pub enum CargoTomlError {
    NoTable {
        table_name: String,
    },
    NoValue {
        value_name: String,
    },
    SetVersion {
        name: String,
        version: String,
    },
}

The error details related the contents of a Cargo.toml file.

Variants

NoTable

Error related to a missing table in a Cargo.toml file.

Fields of NoTable

table_name: String

The name of the missing table.

NoValue

Error related to a missing value in a Cargo.toml file.

Fields of NoValue

value_name: String

The name of the missing value.

SetVersion

Error related to failed attempt to set the version for a package or a dependency.

Fields of SetVersion

name: String

The name of the package or dependency.

version: String

The version to which we attempted to set for the package or dependency.

Trait Implementations

impl Debug for CargoTomlError[src]

impl Display for CargoTomlError[src]

impl Error for CargoTomlError[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> From<T> for T[src]

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

impl<T> SafeBorrow<T> for T where
    T: ?Sized

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.