pub enum BuildSystemError {
InvalidConfig(String),
SourceNotFound(PathBuf),
DependencyCycle(Vec<String>),
CompilationFailed {
target: String,
reason: String,
},
Io(String),
Plugin {
plugin: String,
message: String,
},
}Expand description
Errors that can occur in the build system.
Variants§
InvalidConfig(String)
Configuration was invalid.
SourceNotFound(PathBuf)
A source file was not found.
DependencyCycle(Vec<String>)
A dependency cycle was detected.
CompilationFailed
A compilation step failed.
Io(String)
An I/O error occurred.
Plugin
A plugin error occurred.
Trait Implementations§
Source§impl Clone for BuildSystemError
impl Clone for BuildSystemError
Source§fn clone(&self) -> BuildSystemError
fn clone(&self) -> BuildSystemError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildSystemError
impl Debug for BuildSystemError
Auto Trait Implementations§
impl Freeze for BuildSystemError
impl RefUnwindSafe for BuildSystemError
impl Send for BuildSystemError
impl Sync for BuildSystemError
impl Unpin for BuildSystemError
impl UnsafeUnpin for BuildSystemError
impl UnwindSafe for BuildSystemError
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