pub enum TuningError {
Empty,
InvalidFormat,
OutOfRange,
NonFinite,
NonPositive,
UnknownLabel,
}Variants§
Trait Implementations§
Source§impl Clone for TuningError
impl Clone for TuningError
Source§fn clone(&self) -> TuningError
fn clone(&self) -> TuningError
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 TuningError
impl Debug for TuningError
Source§impl Display for TuningError
impl Display for TuningError
Source§impl Error for TuningError
impl Error for TuningError
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 TuningError
impl PartialEq for TuningError
Source§fn eq(&self, other: &TuningError) -> bool
fn eq(&self, other: &TuningError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TuningError
impl Eq for TuningError
impl StructuralPartialEq for TuningError
Auto Trait Implementations§
impl Freeze for TuningError
impl RefUnwindSafe for TuningError
impl Send for TuningError
impl Sync for TuningError
impl Unpin for TuningError
impl UnsafeUnpin for TuningError
impl UnwindSafe for TuningError
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