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