pub struct DiagnosticCollector {
errors: Vec<String>,
warnings: Vec<String>,
}Expand description
CLI-specific collector for actual errors and warnings from tracing
Fields§
§errors: Vec<String>§warnings: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticCollector
impl Clone for DiagnosticCollector
Source§fn clone(&self) -> DiagnosticCollector
fn clone(&self) -> DiagnosticCollector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiagnosticCollector
impl Debug for DiagnosticCollector
Source§impl Default for DiagnosticCollector
impl Default for DiagnosticCollector
Source§fn default() -> DiagnosticCollector
fn default() -> DiagnosticCollector
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DiagnosticCollector
impl RefUnwindSafe for DiagnosticCollector
impl Send for DiagnosticCollector
impl Sync for DiagnosticCollector
impl Unpin for DiagnosticCollector
impl UnwindSafe for DiagnosticCollector
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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