pub enum IonMobilityFrameAccessError {
FrameNotFound,
FrameIdNotFound(String),
FrameIndexNotFound(usize),
IOError(Option<Error>),
}Expand description
Errors that may occur when reading a spectrum from a RandomAccessIonMobilityFrameIterator
Variants§
FrameNotFound
An undetermined error failing to locate the requested frame
FrameIdNotFound(String)
An error resolving a frame by it’s native ID
FrameIndexNotFound(usize)
An error resolving a frame by it’s index
IOError(Option<Error>)
An I/O error prevented reading the frame, even if it could be found.
Trait Implementations§
Source§impl Debug for IonMobilityFrameAccessError
impl Debug for IonMobilityFrameAccessError
Source§impl Error for IonMobilityFrameAccessError
impl Error for IonMobilityFrameAccessError
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<IonMobilityFrameAccessError> for SpectrumAccessError
impl From<IonMobilityFrameAccessError> for SpectrumAccessError
Source§fn from(value: IonMobilityFrameAccessError) -> SpectrumAccessError
fn from(value: IonMobilityFrameAccessError) -> SpectrumAccessError
Converts to this type from the input type.
Source§impl From<SpectrumAccessError> for IonMobilityFrameAccessError
impl From<SpectrumAccessError> for IonMobilityFrameAccessError
Source§fn from(value: SpectrumAccessError) -> IonMobilityFrameAccessError
fn from(value: SpectrumAccessError) -> IonMobilityFrameAccessError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IonMobilityFrameAccessError
impl !RefUnwindSafe for IonMobilityFrameAccessError
impl Send for IonMobilityFrameAccessError
impl Sync for IonMobilityFrameAccessError
impl Unpin for IonMobilityFrameAccessError
impl !UnwindSafe for IonMobilityFrameAccessError
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