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

pub enum Error {
    AllocationError,
    Open {
        target: String,
    },
    InvalidRecord,
    SetThreads,
    Seek {
        contig: String,
        start: u64,
    },
    Write,
    UndefinedTag {
        tag: String,
    },
    UnexpectedType {
        tag: String,
    },
    MissingTag {
        tag: String,
        record: String,
    },
    SetTag {
        tag: String,
    },
    UnknownRID {
        rid: u32,
    },
    UnknownContig {
        contig: String,
    },
    UnknownID {
        id: String,
    },
    UnknownSample {
        name: String,
    },
    DuplicateSampleNames,
    NonUnicodePath,
    SetValues,
    RemoveAlleles,
}

Variants

AllocationError
Open

Fields of Open

target: String
InvalidRecord
SetThreads
Seek

Fields of Seek

contig: Stringstart: u64
Write
UndefinedTag

Fields of UndefinedTag

tag: String
UnexpectedType

Fields of UnexpectedType

tag: String
MissingTag

Fields of MissingTag

tag: Stringrecord: String
SetTag

Fields of SetTag

tag: String
UnknownRID

Fields of UnknownRID

rid: u32
UnknownContig

Fields of UnknownContig

contig: String
UnknownID

Fields of UnknownID

id: String
UnknownSample

Fields of UnknownSample

name: String
DuplicateSampleNames
NonUnicodePath
SetValues
RemoveAlleles

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 AllocationError 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 UnknownRID<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<u32>, 
[src]

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

impl IntoError<Error> for RemoveAlleles 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 SetThreads where
    Error: Error + ErrorCompat
[src]

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

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

type Source = NoneError

The underlying error

impl<__T0> IntoError<Error> for SetTag<__T0> where
    Error: Error + ErrorCompat,
    __T0: Into<String>, 
[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.