pub struct DocsRun {
pub stdout: String,
pub warnings: Vec<String>,
}Expand description
What run_docs produces: text to print plus any non-fatal stderr warnings
(e.g. all stored docsPaths were stale). The CLI prints stdout, writes
warnings to stderr, and exits 0 — only a hard error (NoCacheError, resolver
failure) surfaces as Err and maps to exit 1.
Fields§
§stdout: String§warnings: Vec<String>Trait Implementations§
impl Eq for DocsRun
impl StructuralPartialEq for DocsRun
Auto Trait Implementations§
impl Forget for DocsRun
impl Freeze for DocsRun
impl Move for DocsRun
impl RefUnwindSafe for DocsRun
impl Send for DocsRun
impl Sync for DocsRun
impl Unpin for DocsRun
impl UnsafeUnpin for DocsRun
impl UnwindSafe for DocsRun
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