pub enum BeatError {
Overflow,
}Expand description
Why exact beat arithmetic failed.
Variants§
Overflow
The exact result doesn’t fit in a Beat (i64 numerator, u32
denominator) — a pathological value, not a musical one.
Trait Implementations§
impl Copy for BeatError
impl Eq for BeatError
Source§impl Error for BeatError
impl Error for BeatError
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()
impl StructuralPartialEq for BeatError
Auto Trait Implementations§
impl Freeze for BeatError
impl RefUnwindSafe for BeatError
impl Send for BeatError
impl Sync for BeatError
impl Unpin for BeatError
impl UnsafeUnpin for BeatError
impl UnwindSafe for BeatError
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