pub enum RestrictionError {
EmptySelection,
UnknownEnzyme(String),
AmbiguousSequence {
symbol: char,
position: usize,
},
Coordinates(DomainError),
Catalogue(String),
ShortCircle {
enzyme: &'static str,
length: usize,
required: usize,
},
}Variants§
EmptySelection
UnknownEnzyme(String)
AmbiguousSequence
Coordinates(DomainError)
Catalogue(String)
ShortCircle
Trait Implementations§
Source§impl Clone for RestrictionError
impl Clone for RestrictionError
Source§fn clone(&self) -> RestrictionError
fn clone(&self) -> RestrictionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RestrictionError
impl Debug for RestrictionError
Source§impl Display for RestrictionError
impl Display for RestrictionError
impl Eq for RestrictionError
Source§impl Error for RestrictionError
impl Error for RestrictionError
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<DomainError> for RestrictionError
impl From<DomainError> for RestrictionError
Source§fn from(source: DomainError) -> Self
fn from(source: DomainError) -> Self
Converts to this type from the input type.
Source§impl From<RestrictionError> for DigestError
impl From<RestrictionError> for DigestError
Source§fn from(source: RestrictionError) -> Self
fn from(source: RestrictionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RestrictionError
impl PartialEq for RestrictionError
impl StructuralPartialEq for RestrictionError
Auto Trait Implementations§
impl Freeze for RestrictionError
impl RefUnwindSafe for RestrictionError
impl Send for RestrictionError
impl Sync for RestrictionError
impl Unpin for RestrictionError
impl UnsafeUnpin for RestrictionError
impl UnwindSafe for RestrictionError
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