pub enum PluginPass {
PreBookingSynth,
PostBooking,
All,
}Expand description
Which subset of plugins to run.
The loader pipeline calls run_plugins twice: once with
PluginPass::PreBookingSynth before the Early validation phase
(so synthesizers can inject Opens / Documents that early checks
depend on), and once with PluginPass::PostBooking after booking
(so cost-spec-reading plugins like implicit_prices,
capital_gains_classifier, check_average_cost, sell_gains,
unrealized, and valuation see filled-in cost.number_per
values).
Standalone callers (LSP, FFI, tests) that operate on already-booked
input should pass PluginPass::All for the historical single-pass
behavior.
Variants§
PreBookingSynth
Only plugins that synthesize directives the Early validator
depends on: auto_accounts (synthesizes Open directives) and
the built-in document discovery walker (synthesizes Document
directives the early phase checks for missing files).
PostBooking
All file-declared plugins and CLI extra_plugins, EXCLUDING
auto_accounts and document_discovery (those ran pre-booking).
Includes the 28 plugins that don’t depend on synth state but
may depend on booked cost specs.
All
Every plugin — historical single-pass behavior. Used by callers (LSP, FFI, standalone tests) that don’t run booking themselves or that work on already-booked input.
Trait Implementations§
Source§impl Clone for PluginPass
impl Clone for PluginPass
Source§fn clone(&self) -> PluginPass
fn clone(&self) -> PluginPass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PluginPass
impl Debug for PluginPass
Source§impl PartialEq for PluginPass
impl PartialEq for PluginPass
Source§fn eq(&self, other: &PluginPass) -> bool
fn eq(&self, other: &PluginPass) -> bool
self and other values to be equal, and is used by ==.impl Copy for PluginPass
impl Eq for PluginPass
impl StructuralPartialEq for PluginPass
Auto Trait Implementations§
impl Freeze for PluginPass
impl RefUnwindSafe for PluginPass
impl Send for PluginPass
impl Sync for PluginPass
impl Unpin for PluginPass
impl UnsafeUnpin for PluginPass
impl UnwindSafe for PluginPass
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.