pub enum RenderErrorKind {
InvalidPath,
Read,
Decompression,
Unsupported,
InvalidOptions,
OutputLimit,
Render,
Encoding,
}Expand description
Stable category for a failed render call.
Variants§
InvalidPath
A source path cannot cross the native boundary.
Read
Source bytes could not be read.
Decompression
Compressed source bytes could not be decoded.
Unsupported
The parser configuration is unavailable on this platform.
InvalidOptions
A width or output limit is outside the documented range.
OutputLimit
The complete output exceeds the configured byte budget.
Render
libmandoc could not parse or render the source.
Encoding
The native renderer returned invalid UTF-8.
Trait Implementations§
Source§impl Clone for RenderErrorKind
impl Clone for RenderErrorKind
Source§fn clone(&self) -> RenderErrorKind
fn clone(&self) -> RenderErrorKind
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 RenderErrorKind
Source§impl Debug for RenderErrorKind
impl Debug for RenderErrorKind
impl Eq for RenderErrorKind
Source§impl PartialEq for RenderErrorKind
impl PartialEq for RenderErrorKind
impl StructuralPartialEq for RenderErrorKind
Auto Trait Implementations§
impl Freeze for RenderErrorKind
impl RefUnwindSafe for RenderErrorKind
impl Send for RenderErrorKind
impl Sync for RenderErrorKind
impl Unpin for RenderErrorKind
impl UnsafeUnpin for RenderErrorKind
impl UnwindSafe for RenderErrorKind
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