[−][src]Enum seq_io::fasta::ErrorKind
Variants
Io(Error)
std::io::Error
Invalid start byte encountered (expected >
)
Fields of InvalidStart
pos: ErrorPosition
Position, where the error occurred. ErrorPosition::position()
returns the record start (same as ErrorPosition::record_position()
),
ErrorPosition::error_offset()
will return None
.
found: u8
Byte found instead.
Truncated record found at the end of the input. This occurs if
there is no newline character \n
after a sequence header.
Fields of UnexpectedEnd
pos: ErrorPosition
Position, where the error occurred. ErrorPosition::position()
returns a Position
referring to the last byte of the file.
ErrorPosition::record_id()
only returns an ID if the
unexpected end did not occur in within the header line. In this
case, the ID may be truncated.
Size limit of buffer was reached, which happens if policy::BufPolicy::grow_to()
returned
None
. This does not happen with the default DoubleUntil
policy.
Implementations
impl ErrorKind
[src]
pub fn position(&self) -> Option<&ErrorPosition>
[src]
Returns the position for this error, if one exists.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
const ALIGN: usize
type Init = T
The type for initializers.
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,