pub enum ProfileOutcome {
Ready {
profile: Option<TaxProfile>,
provenance: Provenance,
},
Uncomputable {
detail: String,
},
}Expand description
The result of resolving AND screening a year’s profile for a COMPUTING consumer (report / optimize /
what-if / export). Unlike resolve_profile (which screens only the input-screenable rows), this also
runs the compute-dependent refuse-guard (screen_compute_dependent) that needs the ledger state.
Variants§
Ready
Ready to compute with. profile is None only for a genuinely profile-less year (missing).
Uncomputable
The year’s full-return inputs cannot be computed — refused by a guard, or the year is unsupported.
The caller MUST surface detail and NOT compute (fail-closed). detail is user-facing.
Auto Trait Implementations§
impl Freeze for ProfileOutcome
impl RefUnwindSafe for ProfileOutcome
impl Send for ProfileOutcome
impl Sync for ProfileOutcome
impl Unpin for ProfileOutcome
impl UnsafeUnpin for ProfileOutcome
impl UnwindSafe for ProfileOutcome
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