Enum release_manager::Error
[−]
[src]
pub enum Error { IO(IOError), TomlRead(TomlReadError), TomlWrite(TomlWriteError), Zip(ZipError), ZipPath, PathString, InvalidTarget, PackageMissing, NameMissing, VersionMissing, NotString, NotTable, RePublish, FailedBuilds, Config, }
Variants
IO(IOError)
Error performing io
TomlRead(TomlReadError)
Error reading from TOML strings
TomlWrite(TomlWriteError)
Error writing to TOML strings
Zip(ZipError)
Error while zipping file
ZipPath
Zip placement path doesn't exist
PathString
Path could not be converted to string
InvalidTarget
Target specified is not supported
PackageMissing
Target crate has no [package] section
NameMissing
Target crate has no name
VersionMissing
Target crate has no version
NotString
Expected a string (when parsing toml)
NotTable
Expected a table (when parsing toml)
RePublish
Cannot publish already published crate
FailedBuilds
Some builds failed
Config
Failed to parse Config
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<IOError> for Error
[src]
impl From<TomlReadError> for Error
[src]
fn from(err: TomlReadError) -> Self
[src]
Performs the conversion.
impl From<TomlWriteError> for Error
[src]
fn from(err: TomlWriteError) -> Self
[src]
Performs the conversion.
impl From<ZipError> for Error
[src]
impl From<StripPrefixError> for Error
[src]
fn from(_: StripPrefixError) -> Self
[src]
Performs the conversion.