pub enum DialError {
Show 18 variants
NotInitialized,
Database(Error),
Io(Error),
PhaseNotFound(String),
TaskNotFound(i64),
SpecSectionNotFound(i64),
LearningNotFound(i64),
NoIterationInProgress,
NoPendingTasks,
MaxAttemptsExceeded(i64),
NotGitRepo,
GitError(String),
CommandFailed(String),
CommandTimeout(u64),
InvalidConfigKey(String),
InvalidConfig(String),
SpecsDirNotFound(String),
UserError(String),
}Variants§
NotInitialized
Database(Error)
Io(Error)
PhaseNotFound(String)
TaskNotFound(i64)
SpecSectionNotFound(i64)
LearningNotFound(i64)
NoIterationInProgress
NoPendingTasks
MaxAttemptsExceeded(i64)
NotGitRepo
GitError(String)
CommandFailed(String)
CommandTimeout(u64)
InvalidConfigKey(String)
InvalidConfig(String)
SpecsDirNotFound(String)
UserError(String)
Trait Implementations§
Source§impl Error for DialError
impl Error for DialError
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 DialError
impl !RefUnwindSafe for DialError
impl Send for DialError
impl Sync for DialError
impl Unpin for DialError
impl UnsafeUnpin for DialError
impl !UnwindSafe for DialError
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