pub enum AlignError {
Io(Error),
InvalidFormat(String),
InvalidNucleotide(u8),
IndexCorrupted {
path: PathBuf,
},
InvalidIndexVersion {
expected: u32,
actual: u32,
},
ReadTooLong {
len: usize,
max: usize,
},
AlignmentFailed(String),
OutOfMemory {
requested: usize,
},
InvalidArgument(String),
Other(String),
}Expand description
Main error type for RustAlign
Variants§
Io(Error)
I/O error
InvalidFormat(String)
Invalid file format
InvalidNucleotide(u8)
Invalid nucleotide
IndexCorrupted
Index file corrupted
InvalidIndexVersion
Invalid index version
ReadTooLong
Read too long
AlignmentFailed(String)
Alignment failed
OutOfMemory
Out of memory
InvalidArgument(String)
Invalid argument
Other(String)
Other error with context
Trait Implementations§
Source§impl Debug for RustAlignError
impl Debug for RustAlignError
Source§impl Display for RustAlignError
impl Display for RustAlignError
Source§impl Error for RustAlignError
impl Error for RustAlignError
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()
Auto Trait Implementations§
impl Freeze for RustAlignError
impl !RefUnwindSafe for RustAlignError
impl Send for RustAlignError
impl Sync for RustAlignError
impl Unpin for RustAlignError
impl UnsafeUnpin for RustAlignError
impl !UnwindSafe for RustAlignError
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