pub enum DirectorError {
Show 21 variants
TickRate,
NoTables,
ZeroWeight {
table: u32,
},
DuplicateEntry {
id: u32,
},
BadPhase {
phase: u32,
},
UnknownTable {
phase: u32,
table: u32,
},
Overlap {
first: u32,
second: u32,
},
ZeroCap {
phase: u32,
},
Unspawnable {
phase: u32,
},
BadRamp {
phase: u32,
},
BadLull {
phase: u32,
},
BadLine {
id: u32,
},
BadWindow {
window: u32,
},
BadCycle {
cycle: u32,
},
BadJitter {
phase: u32,
},
UnknownSpots {
id: u32,
set: u32,
},
EmptySpots {
set: u32,
},
Length {
found: usize,
expected: usize,
},
Version {
found: u32,
},
Mismatch,
Corrupt,
}Variants§
TickRate
NoTables
ZeroWeight
DuplicateEntry
BadPhase
UnknownTable
Overlap
ZeroCap
Unspawnable
BadRamp
BadLull
BadLine
BadWindow
BadCycle
BadJitter
UnknownSpots
EmptySpots
Length
Version
Mismatch
Corrupt
Trait Implementations§
Source§impl Clone for DirectorError
impl Clone for DirectorError
Source§fn clone(&self) -> DirectorError
fn clone(&self) -> DirectorError
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 DirectorError
impl Debug for DirectorError
Source§impl Display for DirectorError
impl Display for DirectorError
Source§impl Error for DirectorError
impl Error for DirectorError
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 DirectorError
impl PartialEq for DirectorError
Source§fn eq(&self, other: &DirectorError) -> bool
fn eq(&self, other: &DirectorError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DirectorError
impl Eq for DirectorError
impl StructuralPartialEq for DirectorError
Auto Trait Implementations§
impl Freeze for DirectorError
impl RefUnwindSafe for DirectorError
impl Send for DirectorError
impl Sync for DirectorError
impl Unpin for DirectorError
impl UnsafeUnpin for DirectorError
impl UnwindSafe for DirectorError
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