pub enum ReportStyle {
Snippets,
Lines,
}Expand description
How Ctx::report_raised shows each place in a trace.
Variants§
Snippets
At its line, with the span marked, as report
shows it.
Lines
On one line, name:line:column: message, indented by two spaces.
Trait Implementations§
Source§impl Clone for ReportStyle
impl Clone for ReportStyle
impl Copy for ReportStyle
Source§impl Debug for ReportStyle
impl Debug for ReportStyle
Source§impl Default for ReportStyle
impl Default for ReportStyle
impl Eq for ReportStyle
Source§impl PartialEq for ReportStyle
impl PartialEq for ReportStyle
impl StructuralPartialEq for ReportStyle
Auto Trait Implementations§
impl Freeze for ReportStyle
impl RefUnwindSafe for ReportStyle
impl Send for ReportStyle
impl Sync for ReportStyle
impl Unpin for ReportStyle
impl UnsafeUnpin for ReportStyle
impl UnwindSafe for ReportStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more