pub enum TransformError {
CannotReadEntryPoint(PathBuf, Error),
CannotReadReadme(PathBuf, Error),
IntralinkError(IntraLinkError),
MissingOrIllFormedMarkers,
}Expand description
Errors that might happen while transforming documentation.
Variants§
CannotReadEntryPoint(PathBuf, Error)
Cannot read the Rust entry-point file containing the inner documentation.
CannotReadReadme(PathBuf, Error)
Cannot read the README file.
IntralinkError(IntraLinkError)
Intra-link error which occurred while transforming the readme documentation.
MissingOrIllFormedMarkers
Initial, start and/or end markers missing and/or ill-formatted.
Trait Implementations§
Source§impl Debug for TransformError
impl Debug for TransformError
Source§impl Display for TransformError
impl Display for TransformError
Source§impl From<IntraLinkError> for TransformError
impl From<IntraLinkError> for TransformError
Source§fn from(err: IntraLinkError) -> Self
fn from(err: IntraLinkError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransformError
impl !RefUnwindSafe for TransformError
impl Send for TransformError
impl Sync for TransformError
impl Unpin for TransformError
impl !UnwindSafe for TransformError
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