Enum dmenv::Error

source ·
pub enum Error {
Show 14 variants ReadError { path: PathBuf, io_error: Error, }, WriteError { path: PathBuf, io_error: Error, }, NulByteFound { arg: String, }, ProcessStartError { message: String, }, ProcessWaitError { io_error: Error, }, ProcessOutError { io_error: Error, }, MissingSetupPy {}, MissingLock {}, MissingVenv { path: PathBuf, }, FileExists { path: PathBuf, }, Other { message: String, }, MalformedLock { line: usize, details: String, }, NothingToBump { name: String, }, MultipleBumps { name: String, },
}

Variants§

§

ReadError

Fields

§path: PathBuf
§io_error: Error
§

WriteError

Fields

§path: PathBuf
§io_error: Error
§

NulByteFound

Fields

§arg: String
§

ProcessStartError

Fields

§message: String
§

ProcessWaitError

Fields

§io_error: Error
§

ProcessOutError

Fields

§io_error: Error
§

MissingSetupPy

Fields

§

MissingLock

Fields

§

MissingVenv

Fields

§path: PathBuf
§

FileExists

Fields

§path: PathBuf
§

Other

Fields

§message: String
§

MalformedLock

Fields

§line: usize
§details: String
§

NothingToBump

Fields

§name: String
§

MultipleBumps

Fields

§name: String

Trait Implementations§

Formats the value using the given formatter. Read more
Formats the value using the given formatter. 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.

Converts the given value to a String. Read more
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.