Enum rust_htslib::errors::Error [−][src]
pub enum Error {
Show variants
FileNotFound {
path: PathBuf,
},
NonUnicodePath,
Fetch,
FileSeek,
GenomicSeek {
contig: String,
start: u64,
},
UnknownSequence {
sequence: String,
},
SetThreads,
ThreadPool,
WriteRecord,
FaidxPositionTooLarge,
TabixNoIter,
TabixTruncatedRecord,
TabixInvalidIndex,
BamParseCigar {
msg: String,
},
BamUnexpectedCigarOperation {
msg: String,
},
BamParseSAM {
rec: String,
},
BamInvalidReferencePath {
path: PathBuf,
},
BamInvalidCompressionLevel {
level: u32,
},
BamOpen {
target: String,
},
BamInvalidIndex {
target: String,
},
BamInvalidRecord,
BamTruncatedRecord,
BamNotIndexable,
BamWriteIndex,
BamBuildIndex,
BamPileup,
BamAux,
BamAuxStringError,
BamAuxParsingError,
BamAuxTagNotFound,
BamAuxUnknownType,
BamAuxTagAlreadyPresent,
BcfAllocationError,
BcfOpen {
target: String,
},
BcfInvalidRecord,
BcfUndefinedTag {
tag: String,
},
BcfUnexpectedType {
tag: String,
},
BcfMissingTag {
tag: String,
record: String,
},
BcfSetTag {
tag: String,
},
BcfUnknownRID {
rid: u32,
},
BcfUnknownContig {
contig: String,
},
BcfUnknownID {
id: String,
},
BcfUnknownSample {
name: String,
},
BcfDuplicateSampleNames,
BcfSetValues,
BcfRemoveAlleles,
}Variants
Show fields
Fields of FileNotFound
path: PathBufShow fields
Fields of UnknownSequence
sequence: StringShow fields
Fields of BamParseCigar
msg: StringShow fields
Fields of BamUnexpectedCigarOperation
msg: StringShow fields
Fields of BamParseSAM
rec: StringShow fields
Fields of BamInvalidReferencePath
path: PathBufShow fields
Fields of BamInvalidCompressionLevel
level: u32Show fields
Fields of BamOpen
target: StringShow fields
Fields of BamInvalidIndex
target: StringShow fields
Fields of BcfOpen
target: StringShow fields
Fields of BcfUndefinedTag
tag: StringShow fields
Fields of BcfUnexpectedType
tag: StringShow fields
Fields of BcfSetTag
tag: StringShow fields
Fields of BcfUnknownRID
rid: u32Show fields
Fields of BcfUnknownContig
contig: StringShow fields
Fields of BcfUnknownID
id: StringShow fields
Fields of BcfUnknownSample
name: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Errorimpl UnwindSafe for Error