pub enum TimsError {
Spectrum(SpectrumError),
Frame(FrameError),
Precursor(PrecursorError),
Ion(IonError),
SparseVec(SparseVecError),
NDArray(NDArrayError),
Coordinate(CoordinateError),
}Variants§
Spectrum(SpectrumError)
Frame(FrameError)
Precursor(PrecursorError)
Ion(IonError)
SparseVec(SparseVecError)
NDArray(NDArrayError)
Coordinate(CoordinateError)
Trait Implementations§
impl Eq for TimsError
Source§impl Error for TimsError
impl Error for TimsError
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 From<CoordinateError> for TimsErrorwhere
CoordinateError: WrappedError,
impl From<CoordinateError> for TimsErrorwhere
CoordinateError: WrappedError,
Source§fn from(e: CoordinateError) -> Self
fn from(e: CoordinateError) -> Self
Converts to this type from the input type.
Source§impl From<FrameError> for TimsErrorwhere
FrameError: WrappedError,
impl From<FrameError> for TimsErrorwhere
FrameError: WrappedError,
Source§fn from(e: FrameError) -> Self
fn from(e: FrameError) -> Self
Converts to this type from the input type.
Source§impl From<NDArrayError> for TimsErrorwhere
NDArrayError: WrappedError,
impl From<NDArrayError> for TimsErrorwhere
NDArrayError: WrappedError,
Source§fn from(e: NDArrayError) -> Self
fn from(e: NDArrayError) -> Self
Converts to this type from the input type.
Source§impl From<PrecursorError> for TimsErrorwhere
PrecursorError: WrappedError,
impl From<PrecursorError> for TimsErrorwhere
PrecursorError: WrappedError,
Source§fn from(e: PrecursorError) -> Self
fn from(e: PrecursorError) -> Self
Converts to this type from the input type.
Source§impl From<SparseVecError> for TimsErrorwhere
SparseVecError: WrappedError,
impl From<SparseVecError> for TimsErrorwhere
SparseVecError: WrappedError,
Source§fn from(e: SparseVecError) -> Self
fn from(e: SparseVecError) -> Self
Converts to this type from the input type.
Source§impl From<SpectrumError> for TimsErrorwhere
SpectrumError: WrappedError,
impl From<SpectrumError> for TimsErrorwhere
SpectrumError: WrappedError,
Source§fn from(e: SpectrumError) -> Self
fn from(e: SpectrumError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for TimsError
impl WrappedError for TimsError
Auto Trait Implementations§
impl Freeze for TimsError
impl RefUnwindSafe for TimsError
impl Send for TimsError
impl Sync for TimsError
impl Unpin for TimsError
impl UnsafeUnpin for TimsError
impl UnwindSafe for TimsError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more