#[non_exhaustive]pub struct TaskLocalDiagnostic {}Expand description
A diagnostic that stores key-value pairs in a task-local context.
See module-level documentation for usage examples.
Trait Implementations§
Source§impl Clone for TaskLocalDiagnostic
impl Clone for TaskLocalDiagnostic
Source§fn clone(&self) -> TaskLocalDiagnostic
fn clone(&self) -> TaskLocalDiagnostic
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 TaskLocalDiagnostic
impl Debug for TaskLocalDiagnostic
Source§impl Default for TaskLocalDiagnostic
impl Default for TaskLocalDiagnostic
Source§fn default() -> TaskLocalDiagnostic
fn default() -> TaskLocalDiagnostic
Returns the “default value” for a type. Read more
Source§impl Diagnostic for TaskLocalDiagnostic
impl Diagnostic for TaskLocalDiagnostic
impl Copy for TaskLocalDiagnostic
Auto Trait Implementations§
impl Freeze for TaskLocalDiagnostic
impl RefUnwindSafe for TaskLocalDiagnostic
impl Send for TaskLocalDiagnostic
impl Sync for TaskLocalDiagnostic
impl Unpin for TaskLocalDiagnostic
impl UnwindSafe for TaskLocalDiagnostic
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