pub enum PeaksError {
Io(Error),
Decode(String),
InvalidFormat(String),
}Expand description
Error type for peak extraction and binary peak-file IO.
Variants§
Trait Implementations§
Source§impl Debug for PeaksError
impl Debug for PeaksError
Source§impl Display for PeaksError
impl Display for PeaksError
Source§impl Error for PeaksError
impl Error for PeaksError
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()
Auto Trait Implementations§
impl Freeze for PeaksError
impl !RefUnwindSafe for PeaksError
impl Send for PeaksError
impl Sync for PeaksError
impl Unpin for PeaksError
impl UnsafeUnpin for PeaksError
impl !UnwindSafe for PeaksError
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