Struct pubgrub::report::DefaultStringReporter
source · pub struct DefaultStringReporter { /* private fields */ }
Expand description
Default reporter able to generate an explanation as a String.
Trait Implementations§
source§impl<P: Package, VS: VersionSet> Reporter<P, VS> for DefaultStringReporter
impl<P: Package, VS: VersionSet> Reporter<P, VS> for DefaultStringReporter
source§fn report(derivation_tree: &DerivationTree<P, VS>) -> Self::Output
fn report(derivation_tree: &DerivationTree<P, VS>) -> Self::Output
Generate a report from the derivation tree
describing the resolution failure using the default formatter.
source§fn report_with_formatter(
derivation_tree: &DerivationTree<P, VS>,
formatter: &impl ReportFormatter<P, VS, Output = Self::Output>
) -> Self::Output
fn report_with_formatter( derivation_tree: &DerivationTree<P, VS>, formatter: &impl ReportFormatter<P, VS, Output = Self::Output> ) -> Self::Output
Generate a report from the derivation tree
describing the resolution failure using a custom formatter.
Auto Trait Implementations§
impl Freeze for DefaultStringReporter
impl RefUnwindSafe for DefaultStringReporter
impl Send for DefaultStringReporter
impl Sync for DefaultStringReporter
impl Unpin for DefaultStringReporter
impl UnwindSafe for DefaultStringReporter
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