pub enum MzMLParserState {
Show 55 variants
Start = 0,
Resume = 1,
CVList = 2,
FileDescription = 3,
FileContents = 4,
SourceFileList = 5,
SourceFile = 6,
ScanSettingsList = 7,
ScanSettings = 8,
SourceFileRefList = 9,
TargetList = 10,
Target = 11,
ReferenceParamGroupList = 12,
ReferenceParamGroup = 13,
Sample = 14,
SampleList = 15,
SoftwareList = 16,
Software = 17,
InstrumentConfigurationList = 18,
InstrumentConfiguration = 19,
ComponentList = 20,
Source = 21,
Analyzer = 22,
Detector = 23,
DataProcessingList = 24,
DataProcessing = 25,
ProcessingMethod = 26,
Run = 27,
Spectrum = 28,
SpectrumList = 29,
BinaryDataArrayList = 30,
BinaryDataArray = 31,
Binary = 32,
ScanList = 33,
Scan = 34,
ScanWindowList = 35,
ScanWindow = 36,
PrecursorList = 37,
Precursor = 38,
IsolationWindow = 39,
SelectedIonList = 40,
SelectedIon = 41,
Activation = 42,
ProductList = 43,
Product = 44,
ProductIsolationWindow = 45,
SpectrumDone = 46,
SpectrumListDone = 47,
ChromatogramList = 48,
Chromatogram = 49,
ChromatogramDone = 50,
ChromatogramListDone = 51,
Other = 52,
ParserError = 53,
EOF = 54,
}Expand description
The different states the MzMLReaderType can enter while parsing
different phases of the document. This information is really only
needed by the module consumer to determine where in the document an
error occurred.
Variants§
Start = 0
Resume = 1
CVList = 2
FileDescription = 3
FileContents = 4
SourceFileList = 5
SourceFile = 6
ScanSettingsList = 7
ScanSettings = 8
SourceFileRefList = 9
TargetList = 10
Target = 11
ReferenceParamGroupList = 12
ReferenceParamGroup = 13
Sample = 14
SampleList = 15
SoftwareList = 16
Software = 17
InstrumentConfigurationList = 18
InstrumentConfiguration = 19
ComponentList = 20
Source = 21
Analyzer = 22
Detector = 23
DataProcessingList = 24
DataProcessing = 25
ProcessingMethod = 26
Run = 27
Spectrum = 28
SpectrumList = 29
BinaryDataArrayList = 30
BinaryDataArray = 31
Binary = 32
ScanList = 33
Scan = 34
ScanWindowList = 35
ScanWindow = 36
PrecursorList = 37
Precursor = 38
IsolationWindow = 39
SelectedIonList = 40
SelectedIon = 41
Activation = 42
ProductList = 43
Product = 44
ProductIsolationWindow = 45
SpectrumDone = 46
SpectrumListDone = 47
ChromatogramList = 48
Chromatogram = 49
ChromatogramDone = 50
ChromatogramListDone = 51
Other = 52
ParserError = 53
EOF = 54
Trait Implementations§
Source§impl Clone for MzMLParserState
impl Clone for MzMLParserState
impl Copy for MzMLParserState
Source§impl Debug for MzMLParserState
impl Debug for MzMLParserState
Source§impl Display for MzMLParserState
impl Display for MzMLParserState
Source§impl PartialEq for MzMLParserState
impl PartialEq for MzMLParserState
Source§impl PartialOrd for MzMLParserState
impl PartialOrd for MzMLParserState
impl StructuralPartialEq for MzMLParserState
Auto Trait Implementations§
impl Freeze for MzMLParserState
impl RefUnwindSafe for MzMLParserState
impl Send for MzMLParserState
impl Sync for MzMLParserState
impl Unpin for MzMLParserState
impl UnsafeUnpin for MzMLParserState
impl UnwindSafe for MzMLParserState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.