pub enum PerformanceError {
QueueFull,
UnknownPosition(String),
BadProgram(String),
}Expand description
Why a schedule call failed.
Variants§
QueueFull
The queue is full; the command was NOT accepted (and counted).
UnknownPosition(String)
The At named a marker or section the program doesn’t have.
BadProgram(String)
The swap target failed to load (hash or version — the last valid program keeps running).
Trait Implementations§
Source§impl Clone for PerformanceError
impl Clone for PerformanceError
Source§fn clone(&self) -> PerformanceError
fn clone(&self) -> PerformanceError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PerformanceError
impl Debug for PerformanceError
Source§impl Display for PerformanceError
impl Display for PerformanceError
impl Eq for PerformanceError
Source§impl Error for PerformanceError
impl Error for PerformanceError
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()
Source§impl PartialEq for PerformanceError
impl PartialEq for PerformanceError
impl StructuralPartialEq for PerformanceError
Auto Trait Implementations§
impl Freeze for PerformanceError
impl RefUnwindSafe for PerformanceError
impl Send for PerformanceError
impl Sync for PerformanceError
impl Unpin for PerformanceError
impl UnsafeUnpin for PerformanceError
impl UnwindSafe for PerformanceError
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