Enum bed_reader::BedError
source · [−]pub enum BedError {
Show 31 variants
IllFormed(String),
BadMode(String),
BadValue(String),
PanickedThread(),
NoIndividuals,
IllegalSnpMean,
IidIndexTooBig(isize),
SidIndexTooBig(isize),
IndexMismatch(usize, usize, usize, usize),
IndexesTooBigForFiles(usize, usize),
SubsetMismatch(usize, usize, usize, usize),
CannotConvertBetaToFromF64,
CannotCreateBetaDist(f64, f64),
CannotUseSkippedMetadata(String),
StartGreaterThanEnd(usize, usize),
StepZero,
StartGreaterThanCount(usize, usize),
EndGreaterThanCount(usize, usize),
NewAxis,
NdSliceInfoNot1D,
MetadataFieldCount(usize, usize, String),
InconsistentCount(String, usize, usize),
BoolArrayVectorWrongLength(usize, usize),
InvalidShape(usize, usize, usize, usize),
MetadataMissingForWrite(String),
UnknownOrBadSampleFile(String),
SampleRegistryProblem(),
SamplesConstructionFailed(String),
DownloadedSampleFileNotSeen(String),
DownloadedSampleFileWrongHash(String, String, String),
CannotCreateCacheDir(),
}Expand description
All errors specific to this library.
Variants
IllFormed(String)
BadMode(String)
BadValue(String)
PanickedThread()
NoIndividuals
IllegalSnpMean
IidIndexTooBig(isize)
SidIndexTooBig(isize)
IndexMismatch(usize, usize, usize, usize)
IndexesTooBigForFiles(usize, usize)
SubsetMismatch(usize, usize, usize, usize)
CannotConvertBetaToFromF64
CannotCreateBetaDist(f64, f64)
CannotUseSkippedMetadata(String)
StartGreaterThanEnd(usize, usize)
StepZero
StartGreaterThanCount(usize, usize)
EndGreaterThanCount(usize, usize)
NewAxis
NdSliceInfoNot1D
MetadataFieldCount(usize, usize, String)
InconsistentCount(String, usize, usize)
BoolArrayVectorWrongLength(usize, usize)
InvalidShape(usize, usize, usize, usize)
MetadataMissingForWrite(String)
UnknownOrBadSampleFile(String)
SampleRegistryProblem()
SamplesConstructionFailed(String)
DownloadedSampleFileNotSeen(String)
DownloadedSampleFileWrongHash(String, String, String)
CannotCreateCacheDir()
Trait Implementations
sourceimpl Error for BedError
impl Error for BedError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for BedError
impl Send for BedError
impl Sync for BedError
impl Unpin for BedError
impl UnwindSafe for BedError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self is actually part of its subset T (and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self to the equivalent element of its superset.