pub enum TimsRustError {
FrameReaderError(FrameReaderError),
SpectrumReaderError(SpectrumReaderError),
MetadataReaderError(MetadataReaderError),
PrecursorReaderError(PrecursorReaderError),
QuadrupoleSettingsReaderError(QuadrupoleSettingsReaderError),
}Expand description
An error that is produced by timsrust (uses thiserror).
Variants§
FrameReaderError(FrameReaderError)
SpectrumReaderError(SpectrumReaderError)
MetadataReaderError(MetadataReaderError)
PrecursorReaderError(PrecursorReaderError)
QuadrupoleSettingsReaderError(QuadrupoleSettingsReaderError)
Trait Implementations§
Source§impl Debug for TimsRustError
impl Debug for TimsRustError
Source§impl Display for TimsRustError
impl Display for TimsRustError
Source§impl Error for TimsRustError
impl Error for TimsRustError
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<FrameReaderError> for TimsRustError
impl From<FrameReaderError> for TimsRustError
Source§fn from(source: FrameReaderError) -> Self
fn from(source: FrameReaderError) -> Self
Converts to this type from the input type.
Source§impl From<MetadataReaderError> for TimsRustError
impl From<MetadataReaderError> for TimsRustError
Source§fn from(source: MetadataReaderError) -> Self
fn from(source: MetadataReaderError) -> Self
Converts to this type from the input type.
Source§impl From<PrecursorReaderError> for TimsRustError
impl From<PrecursorReaderError> for TimsRustError
Source§fn from(source: PrecursorReaderError) -> Self
fn from(source: PrecursorReaderError) -> Self
Converts to this type from the input type.
Source§impl From<QuadrupoleSettingsReaderError> for TimsRustError
impl From<QuadrupoleSettingsReaderError> for TimsRustError
Source§fn from(source: QuadrupoleSettingsReaderError) -> Self
fn from(source: QuadrupoleSettingsReaderError) -> Self
Converts to this type from the input type.
Source§impl From<SpectrumReaderError> for TimsRustError
impl From<SpectrumReaderError> for TimsRustError
Source§fn from(source: SpectrumReaderError) -> Self
fn from(source: SpectrumReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TimsRustError
impl !RefUnwindSafe for TimsRustError
impl Send for TimsRustError
impl Sync for TimsRustError
impl Unpin for TimsRustError
impl !UnwindSafe for TimsRustError
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> 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