pub enum Event<'a> {
NextRecord,
IdChunk(&'a [u8]),
SeqChunk(&'a [u8]),
QualChunk(&'a [u8]),
}Expand description
Parsing event. References are valid until the next next_event() call.
Variants§
NextRecord
Next record starting (signals end of previous record). Not emitted before the first record.
IdChunk(&'a [u8])
Record ID chunk (may be partial if spanning buffer boundary).
SeqChunk(&'a [u8])
Sequence data chunk.
QualChunk(&'a [u8])
Phred quality scores chunk, ASCII-encoded (FASTQ only).
Trait Implementations§
impl<'a> Eq for Event<'a>
impl<'a> StructuralPartialEq for Event<'a>
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
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