pub enum Note<'a> {
Text(String),
SourceCodeTrace(String, &'a SourceCodeTrace),
}
Variants§
Text(String)
SourceCodeTrace(String, &'a SourceCodeTrace)
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Note<'a>
impl<'a> Send for Note<'a>
impl<'a> Sync for Note<'a>
impl<'a> Unpin for Note<'a>
impl<'a> UnwindSafe for Note<'a>
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