pub enum MotifValueError {
Empty,
SequenceRangeEndBeforeStart,
}Expand description
Error returned by motif vocabulary constructors.
Variants§
Empty
The supplied value was empty after trimming surrounding whitespace.
SequenceRangeEndBeforeStart
The supplied sequence range ended before it started.
Trait Implementations§
Source§impl Clone for MotifValueError
impl Clone for MotifValueError
Source§fn clone(&self) -> MotifValueError
fn clone(&self) -> MotifValueError
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 MotifValueError
impl Debug for MotifValueError
Source§impl Display for MotifValueError
impl Display for MotifValueError
Source§impl Error for MotifValueError
impl Error for MotifValueError
1.30.0 · 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 PartialEq for MotifValueError
impl PartialEq for MotifValueError
Source§fn eq(&self, other: &MotifValueError) -> bool
fn eq(&self, other: &MotifValueError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MotifValueError
impl Eq for MotifValueError
impl StructuralPartialEq for MotifValueError
Auto Trait Implementations§
impl Freeze for MotifValueError
impl RefUnwindSafe for MotifValueError
impl Send for MotifValueError
impl Sync for MotifValueError
impl Unpin for MotifValueError
impl UnsafeUnpin for MotifValueError
impl UnwindSafe for MotifValueError
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