pub enum AccessionError {
DatabaseError(Error),
AccessionNodeError(AccessionNodeError),
Duplicate(String),
MissingPath(HashId),
EmptySpans,
InvalidRange {
start: i64,
end: i64,
},
MissingIntervalTreeLength,
RegionProjection(String),
}Variants§
DatabaseError(Error)
AccessionNodeError(AccessionNodeError)
Duplicate(String)
MissingPath(HashId)
EmptySpans
InvalidRange
MissingIntervalTreeLength
RegionProjection(String)
Trait Implementations§
Source§impl Debug for AccessionError
impl Debug for AccessionError
Source§impl Display for AccessionError
impl Display for AccessionError
Source§impl Error for AccessionError
impl Error for AccessionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AccessionError> for AnnotationError
impl From<AccessionError> for AnnotationError
Source§fn from(source: AccessionError) -> Self
fn from(source: AccessionError) -> Self
Converts to this type from the input type.
Source§impl From<AccessionError> for BlockGroupError
impl From<AccessionError> for BlockGroupError
Source§fn from(source: AccessionError) -> Self
fn from(source: AccessionError) -> Self
Converts to this type from the input type.
Source§impl From<AccessionError> for ChangesetError
impl From<AccessionError> for ChangesetError
Source§fn from(source: AccessionError) -> Self
fn from(source: AccessionError) -> Self
Converts to this type from the input type.
Source§impl From<AccessionError> for GenRegionError
impl From<AccessionError> for GenRegionError
Source§fn from(source: AccessionError) -> Self
fn from(source: AccessionError) -> Self
Converts to this type from the input type.
Source§impl From<AccessionNodeError> for AccessionError
impl From<AccessionNodeError> for AccessionError
Source§fn from(source: AccessionNodeError) -> Self
fn from(source: AccessionNodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AccessionError
impl From<Error> for AccessionError
Source§impl PartialEq for AccessionError
impl PartialEq for AccessionError
Source§fn eq(&self, other: &AccessionError) -> bool
fn eq(&self, other: &AccessionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccessionError
Auto Trait Implementations§
impl !RefUnwindSafe for AccessionError
impl !UnwindSafe for AccessionError
impl Freeze for AccessionError
impl Send for AccessionError
impl Sync for AccessionError
impl Unpin for AccessionError
impl UnsafeUnpin for AccessionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more