pub struct CompactStreamReporter { /* private fields */ }
Implementations§
Source§impl CompactStreamReporter
impl CompactStreamReporter
pub fn with_severity_filter(self, filter: SeverityFilter) -> Self
Trait Implementations§
Source§impl Debug for CompactStreamReporter
impl Debug for CompactStreamReporter
Source§impl Default for CompactStreamReporter
impl Default for CompactStreamReporter
Source§impl Reporter for CompactStreamReporter
impl Reporter for CompactStreamReporter
Source§fn emit(
&self,
diagnostic: &Diagnostic,
sources: &SourceFiles,
) -> Result<(), Error>
fn emit( &self, diagnostic: &Diagnostic, sources: &SourceFiles, ) -> Result<(), Error>
Emit a diagnostic, providing a mapping for source code.
fn counters(&self) -> ReportCounters
fn done(&self, _: Option<String>) -> Result<ReportCounters, Error>
fn severity_filter(&self) -> SeverityFilter
fn set_severity_filter(&mut self, filter: SeverityFilter)
fn emit_without_source(&self, diagnostic: &Diagnostic) -> Result<(), Error>
fn log(&self, diagnostic: &Diagnostic)
fn is_enabled(&self, level: Severity) -> bool
Auto Trait Implementations§
impl !Freeze for CompactStreamReporter
impl !RefUnwindSafe for CompactStreamReporter
impl Send for CompactStreamReporter
impl !Sync for CompactStreamReporter
impl Unpin for CompactStreamReporter
impl UnwindSafe for CompactStreamReporter
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