pub struct DiagnosticsConfig {
pub dump_dir: PathBuf,
pub format: DumpFormat,
pub categories: HashMap<DiagCategory, IterSpec>,
}Expand description
Static configuration: where to dump, in what format, with what per-category iter filters. Constructed by the CLI, held by the application, frozen for the duration of a solve.
Fields§
§dump_dir: PathBuf§format: DumpFormat§categories: HashMap<DiagCategory, IterSpec>Implementations§
Source§impl DiagnosticsConfig
impl DiagnosticsConfig
pub fn new(dump_dir: PathBuf) -> Self
pub fn with_category(self, cat: DiagCategory, spec: IterSpec) -> Self
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for DiagnosticsConfig
impl Clone for DiagnosticsConfig
Source§fn clone(&self) -> DiagnosticsConfig
fn clone(&self) -> DiagnosticsConfig
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 moreAuto Trait Implementations§
impl Freeze for DiagnosticsConfig
impl RefUnwindSafe for DiagnosticsConfig
impl Send for DiagnosticsConfig
impl Sync for DiagnosticsConfig
impl Unpin for DiagnosticsConfig
impl UnsafeUnpin for DiagnosticsConfig
impl UnwindSafe for DiagnosticsConfig
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