pub enum ManualErrorKind {
Read,
Decompression,
Limit,
UnsafePath,
Redirect,
Parse,
}Expand description
Stable category for a native manual failure.
Variants§
Read
Source bytes could not be read.
Decompression
Compressed source bytes could not be decoded.
Limit
A configured resource bound was exceeded.
UnsafePath
A path or redirect crossed the approved manual tree.
Redirect
A native alias redirect was invalid or could not be resolved.
Parse
libmandoc rejected or could not represent the source.
Trait Implementations§
Source§impl Clone for ManualErrorKind
impl Clone for ManualErrorKind
Source§fn clone(&self) -> ManualErrorKind
fn clone(&self) -> ManualErrorKind
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 moreimpl Copy for ManualErrorKind
Source§impl Debug for ManualErrorKind
impl Debug for ManualErrorKind
impl Eq for ManualErrorKind
Source§impl PartialEq for ManualErrorKind
impl PartialEq for ManualErrorKind
impl StructuralPartialEq for ManualErrorKind
Auto Trait Implementations§
impl Freeze for ManualErrorKind
impl RefUnwindSafe for ManualErrorKind
impl Send for ManualErrorKind
impl Sync for ManualErrorKind
impl Unpin for ManualErrorKind
impl UnsafeUnpin for ManualErrorKind
impl UnwindSafe for ManualErrorKind
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