pub enum LigationError {
InvalidPlan(&'static str),
Annotation(AnnotationError),
Compatibility(CompatibilityError),
Incompatible {
after: usize,
before: usize,
reason: CompatibilityReason,
},
Conservation(&'static str),
}Variants§
InvalidPlan(&'static str)
Annotation(AnnotationError)
Compatibility(CompatibilityError)
Incompatible
Conservation(&'static str)
Trait Implementations§
Source§impl Debug for LigationError
impl Debug for LigationError
Source§impl Display for LigationError
impl Display for LigationError
Source§impl Error for LigationError
impl Error for LigationError
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<AnnotationError> for LigationError
impl From<AnnotationError> for LigationError
Source§fn from(source: AnnotationError) -> Self
fn from(source: AnnotationError) -> Self
Converts to this type from the input type.
Source§impl From<CompatibilityError> for LigationError
impl From<CompatibilityError> for LigationError
Source§fn from(source: CompatibilityError) -> Self
fn from(source: CompatibilityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LigationError
impl RefUnwindSafe for LigationError
impl Send for LigationError
impl Sync for LigationError
impl Unpin for LigationError
impl UnsafeUnpin for LigationError
impl UnwindSafe for LigationError
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