[][src]Enum rust_htslib::bam::errors::Error

pub enum Error {
    ParseCigar {
        msg: String,
    },
    UnexpectedCigarOperation {
        msg: String,
    },
    ParseSAM {
        rec: String,
    },
    SetThreads,
    InvalidReferencePath {
        path: PathBuf,
    },
    InvalidCompressionLevel {
        level: u32,
    },
    FileNotFound {
        path: PathBuf,
    },
    NonUnicodePath,
    Open {
        target: String,
    },
    InvalidIndex {
        target: String,
    },
    Write,
    InvalidRecord,
    TruncatedRecord,
    Fetch,
    Seek,
    UnknownSequence {
        sequence: String,
    },
    NotIndexable,
    WriteIndex,
    BuildIndex,
    Pileup,
}

Variants

ParseCigar

Fields of ParseCigar

msg: String
UnexpectedCigarOperation

Fields of UnexpectedCigarOperation

msg: String
ParseSAM

Fields of ParseSAM

rec: String
SetThreads
InvalidReferencePath

Fields of InvalidReferencePath

path: PathBuf
InvalidCompressionLevel

Fields of InvalidCompressionLevel

level: u32
FileNotFound

Fields of FileNotFound

path: PathBuf
NonUnicodePath
Open

Fields of Open

target: String
InvalidIndex

Fields of InvalidIndex

target: String
Write
InvalidRecord
TruncatedRecord
Fetch
Seek
UnknownSequence

Fields of UnknownSequence

sequence: String
NotIndexable
WriteIndex
BuildIndex
Pileup

Trait Implementations

impl PartialEq<Error> for Error[src]

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error where
    Self: Debug + Display
[src]

impl ErrorCompat for Error[src]

impl<__T0> IntoError<Error> for ParseCigar<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for UnexpectedCigarOperation<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for ParseSAM<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for SetThreads where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for InvalidReferencePath<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<PathBuf>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for InvalidCompressionLevel<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<u32>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for FileNotFound<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<PathBuf>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for NonUnicodePath where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for Open<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for InvalidIndex<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for Write where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for InvalidRecord where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for TruncatedRecord where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for Fetch where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for Seek where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for UnknownSequence<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for NotIndexable where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for WriteIndex where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for BuildIndex where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl IntoError<Error> for Pileup where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

Auto Trait Implementations

impl Send for Error

impl Unpin for Error

impl Sync for Error

impl UnwindSafe for Error

impl RefUnwindSafe for Error

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]