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,
},
}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.
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