pub trait IssueReporter:
Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn report_issues(
self: Vc<Self>,
source: TransientValue<RawVc>,
min_failing_severity: IssueSeverity,
) -> Vc<bool>
where Self: Sized;
}Required Methods§
Sourcefn report_issues(
self: Vc<Self>,
source: TransientValue<RawVc>,
min_failing_severity: IssueSeverity,
) -> Vc<bool>where
Self: Sized,
fn report_issues(
self: Vc<Self>,
source: TransientValue<RawVc>,
min_failing_severity: IssueSeverity,
) -> Vc<bool>where
Self: Sized,
Reports issues to the user (e.g. to stdio). Returns whether fatal (program-ending) issues were present.
§Arguments:
source- The root [Vc] from which issues are traced. Can be used by implementers to determine which issues are new. This must be derived from the OperationVc so issues can be collected.min_failing_severity- The minimum Vc<IssueSeverity> The minimum issue severity level considered to fatally end the program.
Trait Implementations§
Source§impl TraitVtablePrototype for Box<dyn IssueReporter>
impl TraitVtablePrototype for Box<dyn IssueReporter>
Source§impl VcValueTrait for Box<dyn IssueReporter>
impl VcValueTrait for Box<dyn IssueReporter>
Source§const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
The per-trait vtable registry, populated at program load by
#[ctor::ctor]
functions emitted by each #[turbo_tasks::value_impl] expansion. Read moretype ValueTrait = dyn IssueReporter
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
impl Dynamic<Box<dyn IssueReporter>> for Box<dyn IssueReporter>
impl Dynamic<Box<dyn ValueDebug>> for Box<dyn IssueReporter>
Available on debug-assertions enabled only.
impl Upcast<Box<dyn IssueReporter>> for Box<dyn IssueReporter>
impl Upcast<Box<dyn ValueDebug>> for Box<dyn IssueReporter>
Available on debug-assertions enabled only.
impl UpcastStrict<Box<dyn ValueDebug>> for Box<dyn IssueReporter>
Available on debug-assertions enabled only.