pub enum SampleError {
HopOutsideCola {
window: usize,
hop: usize,
},
WindowNotPowerOfTwo {
window: usize,
},
WidthMismatch {
left: usize,
right: usize,
},
ChannelOutOfRange {
k: usize,
width: usize,
},
GridTooLarge {
model: &'static str,
nodes: usize,
ceiling: usize,
},
StringPastRate {
model: &'static str,
},
BridgeUnstable {
model: &'static str,
},
ContactUnsettled {
model: &'static str,
sample: usize,
},
ReadsAhead {
at: i64,
},
UnreadablePosition,
FormulaUnevaluable {
at: i64,
},
ArgumentOutOfRange {
model: &'static str,
name: &'static str,
bits: u64,
sample: u64,
},
}Variants§
HopOutsideCola
WindowNotPowerOfTwo
WidthMismatch
ChannelOutOfRange
GridTooLarge
A grid sized from the rate and the fundamental, past what one call may allocate.
StringPastRate
A string no stable grid at this rate rings at the partials it was asked for.
BridgeUnstable
A unison whose bridge row leaves its scheme’s mass form not provably positive.
ContactUnsettled
A contact whose force solve settled on no value at a sample.
ReadsAhead
A reading needs a sample this run has not computed yet.
UnreadablePosition
An exactly computed time passed what its integers hold.
FormulaUnevaluable
A closed form read at one of the machine’s instants has no value there.
ArgumentOutOfRange
A varying parameter outside the range its model holds, at one sample.
Implementations§
Trait Implementations§
Source§impl Clone for SampleError
impl Clone for SampleError
Source§impl Debug for SampleError
impl Debug for SampleError
Source§impl Display for SampleError
impl Display for SampleError
impl Eq for SampleError
Source§impl PartialEq for SampleError
impl PartialEq for SampleError
impl StructuralPartialEq for SampleError
Auto Trait Implementations§
impl Freeze for SampleError
impl RefUnwindSafe for SampleError
impl Send for SampleError
impl Sync for SampleError
impl Unpin for SampleError
impl UnsafeUnpin for SampleError
impl UnwindSafe for SampleError
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