Enum bed_reader::BedErrorPlus
source · [−]pub enum BedErrorPlus {
BedError(BedError),
IOError(Error),
ThreadPoolError(ThreadPoolBuildError),
ParseIntError(ParseIntError),
UninitializedFieldError(UninitializedFieldError),
ParseFloatError(ParseFloatError),
UreqError(Error),
}Expand description
All possible errors returned by this library and the libraries it depends on.
Variants
BedError(BedError)
IOError(Error)
ThreadPoolError(ThreadPoolBuildError)
ParseIntError(ParseIntError)
UninitializedFieldError(UninitializedFieldError)
ParseFloatError(ParseFloatError)
UreqError(Error)
Trait Implementations
sourceimpl Debug for BedErrorPlus
impl Debug for BedErrorPlus
sourceimpl Display for BedErrorPlus
impl Display for BedErrorPlus
sourceimpl Error for BedErrorPlus
impl Error for BedErrorPlus
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>
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
use the Display impl or to_string()
sourceimpl From<BedError> for BedErrorPlus
impl From<BedError> for BedErrorPlus
sourceimpl From<Error> for BedErrorPlus
impl From<Error> for BedErrorPlus
sourceimpl From<Error> for BedErrorPlus
impl From<Error> for BedErrorPlus
sourceimpl From<ParseFloatError> for BedErrorPlus
impl From<ParseFloatError> for BedErrorPlus
sourcefn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseIntError> for BedErrorPlus
impl From<ParseIntError> for BedErrorPlus
sourcefn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
sourceimpl From<ThreadPoolBuildError> for BedErrorPlus
impl From<ThreadPoolBuildError> for BedErrorPlus
sourcefn from(source: ThreadPoolBuildError) -> Self
fn from(source: ThreadPoolBuildError) -> Self
Converts to this type from the input type.
sourceimpl From<UninitializedFieldError> for BedErrorPlus
impl From<UninitializedFieldError> for BedErrorPlus
sourcefn from(source: UninitializedFieldError) -> Self
fn from(source: UninitializedFieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for BedErrorPlus
impl Send for BedErrorPlus
impl Sync for BedErrorPlus
impl Unpin for BedErrorPlus
impl !UnwindSafe for BedErrorPlus
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.