pub enum RecipeError {
CommandFailed {
code: i32,
stderr: String,
},
TargetDeleted {
target: String,
},
Io(Error),
}Variants§
Trait Implementations§
Source§impl Debug for RecipeError
impl Debug for RecipeError
Source§impl Display for RecipeError
impl Display for RecipeError
Source§impl Error for RecipeError
impl Error for RecipeError
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<Error> for RecipeError
impl From<Error> for RecipeError
Source§impl From<RecipeError> for MkError
impl From<RecipeError> for MkError
Source§fn from(source: RecipeError) -> Self
fn from(source: RecipeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RecipeError
impl !UnwindSafe for RecipeError
impl Freeze for RecipeError
impl Send for RecipeError
impl Sync for RecipeError
impl Unpin for RecipeError
impl UnsafeUnpin for RecipeError
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