pub struct NoopDiagnosticSink;Expand description
Diagnostic sink that discards all messages.
Trait Implementations§
Source§impl Clone for NoopDiagnosticSink
impl Clone for NoopDiagnosticSink
Source§fn clone(&self) -> NoopDiagnosticSink
fn clone(&self) -> NoopDiagnosticSink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoopDiagnosticSink
Source§impl Debug for NoopDiagnosticSink
impl Debug for NoopDiagnosticSink
Source§impl Default for NoopDiagnosticSink
impl Default for NoopDiagnosticSink
Source§fn default() -> NoopDiagnosticSink
fn default() -> NoopDiagnosticSink
Returns the “default value” for a type. Read more
Source§impl DiagnosticSink for NoopDiagnosticSink
impl DiagnosticSink for NoopDiagnosticSink
Source§fn emit(&self, _diagnostic: Diagnostic)
fn emit(&self, _diagnostic: Diagnostic)
Accepts and handles a single diagnostic message.
Auto Trait Implementations§
impl Freeze for NoopDiagnosticSink
impl RefUnwindSafe for NoopDiagnosticSink
impl Send for NoopDiagnosticSink
impl Sync for NoopDiagnosticSink
impl Unpin for NoopDiagnosticSink
impl UnsafeUnpin for NoopDiagnosticSink
impl UnwindSafe for NoopDiagnosticSink
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