pub enum EnvironmentError {
Io(Error),
Metadata(String),
CommandError(CommandError),
Serde(String),
MissingTargetDir,
ArtifactNotFound(PathBuf),
Utf8(FromUtf8Error),
ParseManifest(String),
InterfaceGeneration(String),
SourceNotFound(PathBuf),
Cache(CacheError),
Build(BuildError),
}Variants§
Io(Error)
Metadata(String)
CommandError(CommandError)
Serde(String)
MissingTargetDir
ArtifactNotFound(PathBuf)
Utf8(FromUtf8Error)
ParseManifest(String)
InterfaceGeneration(String)
SourceNotFound(PathBuf)
Cache(CacheError)
Build(BuildError)
Trait Implementations§
Source§impl Debug for EnvironmentError
impl Debug for EnvironmentError
Source§impl Display for EnvironmentError
impl Display for EnvironmentError
Source§impl Error for EnvironmentError
impl Error for EnvironmentError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<BuildError> for EnvironmentError
impl From<BuildError> for EnvironmentError
Source§fn from(source: BuildError) -> Self
fn from(source: BuildError) -> Self
Converts to this type from the input type.
Source§impl From<CacheError> for EnvironmentError
impl From<CacheError> for EnvironmentError
Source§fn from(source: CacheError) -> Self
fn from(source: CacheError) -> Self
Converts to this type from the input type.
Source§impl From<CommandError> for EnvironmentError
impl From<CommandError> for EnvironmentError
Source§fn from(source: CommandError) -> Self
fn from(source: CommandError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for EnvironmentError
impl From<Error> for EnvironmentError
Source§impl From<Error> for EnvironmentError
impl From<Error> for EnvironmentError
Source§impl From<FromUtf8Error> for EnvironmentError
impl From<FromUtf8Error> for EnvironmentError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EnvironmentError
impl !UnwindSafe for EnvironmentError
impl Freeze for EnvironmentError
impl Send for EnvironmentError
impl Sync for EnvironmentError
impl Unpin for EnvironmentError
impl UnsafeUnpin for EnvironmentError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more