pub enum BlockGroupError {
DatabaseError(Error),
PathError(PathError),
EdgeError(EdgeError),
NodeError(NodeError),
AccessionError(AccessionError),
AccessionNodeError(AccessionNodeError),
AnnotationError(AnnotationError),
QueryError(QueryError),
ChangeOutOfBounds(String),
SequenceError(SequenceError),
}Variants§
DatabaseError(Error)
PathError(PathError)
EdgeError(EdgeError)
NodeError(NodeError)
AccessionError(AccessionError)
AccessionNodeError(AccessionNodeError)
AnnotationError(AnnotationError)
QueryError(QueryError)
ChangeOutOfBounds(String)
SequenceError(SequenceError)
Trait Implementations§
Source§impl Debug for BlockGroupError
impl Debug for BlockGroupError
Source§impl Display for BlockGroupError
impl Display for BlockGroupError
Source§impl Error for BlockGroupError
impl Error for BlockGroupError
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 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<AccessionNodeError> for BlockGroupError
impl From<AccessionNodeError> for BlockGroupError
Source§fn from(source: AccessionNodeError) -> Self
fn from(source: AccessionNodeError) -> Self
Converts to this type from the input type.
Source§impl From<AnnotationError> for BlockGroupError
impl From<AnnotationError> for BlockGroupError
Source§fn from(source: AnnotationError) -> Self
fn from(source: AnnotationError) -> Self
Converts to this type from the input type.
Source§impl From<BlockGroupError> for ChangesetError
impl From<BlockGroupError> for ChangesetError
Source§fn from(source: BlockGroupError) -> Self
fn from(source: BlockGroupError) -> Self
Converts to this type from the input type.
Source§impl From<BlockGroupError> for GenRegionError
impl From<BlockGroupError> for GenRegionError
Source§fn from(source: BlockGroupError) -> Self
fn from(source: BlockGroupError) -> Self
Converts to this type from the input type.
Source§impl From<BlockGroupError> for SampleError
impl From<BlockGroupError> for SampleError
Source§fn from(source: BlockGroupError) -> Self
fn from(source: BlockGroupError) -> Self
Converts to this type from the input type.
Source§impl From<EdgeError> for BlockGroupError
impl From<EdgeError> for BlockGroupError
Source§impl From<Error> for BlockGroupError
impl From<Error> for BlockGroupError
Source§impl From<NodeError> for BlockGroupError
impl From<NodeError> for BlockGroupError
Source§impl From<PathError> for BlockGroupError
impl From<PathError> for BlockGroupError
Source§impl From<QueryError> for BlockGroupError
impl From<QueryError> for BlockGroupError
Source§fn from(source: QueryError) -> Self
fn from(source: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<SequenceError> for BlockGroupError
impl From<SequenceError> for BlockGroupError
Source§fn from(source: SequenceError) -> Self
fn from(source: SequenceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlockGroupError
impl PartialEq for BlockGroupError
Source§fn eq(&self, other: &BlockGroupError) -> bool
fn eq(&self, other: &BlockGroupError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlockGroupError
Auto Trait Implementations§
impl !RefUnwindSafe for BlockGroupError
impl !UnwindSafe for BlockGroupError
impl Freeze for BlockGroupError
impl Send for BlockGroupError
impl Sync for BlockGroupError
impl Unpin for BlockGroupError
impl UnsafeUnpin for BlockGroupError
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