pub enum Failure {
Diagnostics {
db: FileDb,
diagnostics: Vec<Diagnostic>,
},
Other(String),
}Expand description
Why a program was not documented.
Variants§
Diagnostics
Its analysis found errors, for the caller to print.
Fields
§
diagnostics: Vec<Diagnostic>Every diagnostic the analysis found, errors among them.
Other(String)
Anything else, in a sentence.
Auto Trait Implementations§
impl Freeze for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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