pub enum ScheduleError {
BadEntry {
raw: String,
},
BadTick {
raw: String,
source: ParseIntError,
},
NoActions {
model: String,
},
UnknownAction {
id: String,
model: String,
known: Vec<&'static str>,
},
}Expand description
An --act entry that cannot be resolved.
Variants§
BadEntry
An entry not of the form ID@TICK.
BadTick
An entry whose tick is not a whole number.
NoActions
An entry for a model that declares no actions.
UnknownAction
An action id that model does not declare.
Trait Implementations§
Source§impl Clone for ScheduleError
impl Clone for ScheduleError
Source§impl Debug for ScheduleError
impl Debug for ScheduleError
Source§impl Display for ScheduleError
impl Display for ScheduleError
impl Eq for ScheduleError
Source§impl Error for ScheduleError
impl Error for ScheduleError
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 PartialEq for ScheduleError
impl PartialEq for ScheduleError
impl StructuralPartialEq for ScheduleError
Auto Trait Implementations§
impl Freeze for ScheduleError
impl RefUnwindSafe for ScheduleError
impl Send for ScheduleError
impl Sync for ScheduleError
impl Unpin for ScheduleError
impl UnsafeUnpin for ScheduleError
impl UnwindSafe for ScheduleError
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