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

pub enum Error {
    NoIter,
    TruncatedRecord,
    InvalidIndex,
    FileNotFound {
        path: PathBuf,
    },
    NonUnicodePath,
    UnknownSequence {
        sequence: String,
    },
    Fetch,
    SetThreads,
}

Variants

NoIter
TruncatedRecord
InvalidIndex
FileNotFound

Fields of FileNotFound

path: PathBuf
NonUnicodePath
UnknownSequence

Fields of UnknownSequence

sequence: String
Fetch
SetThreads

Trait Implementations

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 IntoError<Error> for NoIter 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 InvalidIndex where
    Error: Error + ErrorCompat
[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 UnknownSequence<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[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 SetThreads where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

impl PartialEq<Error> for Error[src]

impl StructuralPartialEq for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.