pub enum CrackleError {
TaskPanicked(String),
KilnCooled,
InvalidProfile(String),
DetectionFailed(String),
}Expand description
Errors that can occur during crackle runtime operations.
Variants§
TaskPanicked(String)
A task panicked during firing.
KilnCooled
The kiln was already cooled and cannot accept new tasks.
InvalidProfile(String)
Invalid thermal profile configuration.
DetectionFailed(String)
Pattern detection failed.
Trait Implementations§
Source§impl Debug for CrackleError
impl Debug for CrackleError
Source§impl Display for CrackleError
impl Display for CrackleError
Source§impl Error for CrackleError
impl Error for CrackleError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for CrackleError
impl RefUnwindSafe for CrackleError
impl Send for CrackleError
impl Sync for CrackleError
impl Unpin for CrackleError
impl UnsafeUnpin for CrackleError
impl UnwindSafe for CrackleError
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