pub enum BuildCommandError {
Usage(&'static str),
Build(Box<dyn Error>),
}Expand description
BuildCommandError
Variants§
Trait Implementations§
Source§impl Debug for BuildCommandError
impl Debug for BuildCommandError
Source§impl Display for BuildCommandError
impl Display for BuildCommandError
Source§impl Error for BuildCommandError
impl Error for BuildCommandError
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<BuildCommandError> for CliError
impl From<BuildCommandError> for CliError
Source§fn from(source: BuildCommandError) -> Self
fn from(source: BuildCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BuildCommandError
impl !RefUnwindSafe for BuildCommandError
impl !Send for BuildCommandError
impl !Sync for BuildCommandError
impl Unpin for BuildCommandError
impl UnsafeUnpin for BuildCommandError
impl !UnwindSafe for BuildCommandError
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