Enum bam::bam_reader::ModificationTime[][src]

pub enum ModificationTime {
    Error,
    Ignore,
    Warn(Box<dyn Fn(&str)>),
}
Expand description

Defines how to react to a BAI index being younger than BAM file.

Variants

  • Error - IndexedReader will not be constructed if the BAI index is was modified earlier than the BAM file. io::Error will be raised.
  • Ignore - does nothing if the index is younger than the BAM file.
  • Warn - calls a function Fn(&str) and continues constructing IndexedReader;

Variants

Error

Ignore

Warn(Box<dyn Fn(&str)>)

Tuple Fields

0: Box<dyn Fn(&str)>

Implementations

Create a warning strategy ModificationTime::Warn.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.