Enum ructe::RucteError
source · pub enum RucteError {
Io(Error),
Env(String, VarError),
}
Expand description
The build-time error type for Ructe.
Variants§
Io(Error)
A build-time IO error in Ructe
Env(String, VarError)
Error resolving a given environment variable.
Trait Implementations§
source§impl Debug for RucteError
impl Debug for RucteError
source§impl Display for RucteError
impl Display for RucteError
source§impl Error for RucteError
impl Error for RucteError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RucteError
impl From<Error> for RucteError
source§fn from(e: Error) -> RucteError
fn from(e: Error) -> RucteError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RucteError
impl Send for RucteError
impl Sync for RucteError
impl Unpin for RucteError
impl !UnwindSafe for RucteError
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