pub struct SelectFactsProvider { /* private fields */ }Expand description
Native baseline provider that projects all facts selected by its policy.
Each instance owns one open kind and one config Shape. Its output keeps fact identity beside each semantic value so two differently named inputs cannot alias even when their values are equal.
Implementations§
Trait Implementations§
Source§impl ProjectionProvider for SelectFactsProvider
impl ProjectionProvider for SelectFactsProvider
Source§fn kind(&self) -> &ProjectionKindRef
fn kind(&self) -> &ProjectionKindRef
Open kind implemented by this provider.
Source§fn config_shape(&self) -> &ContentId
fn config_shape(&self) -> &ContentId
Stable Shape identity used to check configuration before invocation.
Source§fn project(
&self,
inputs: &ProjectionInputs,
config: &Datum,
) -> Result<ProjectionOutput, ProjectionError>
fn project( &self, inputs: &ProjectionInputs, config: &Datum, ) -> Result<ProjectionOutput, ProjectionError>
Projects solely over the bounded immutable input view.
Auto Trait Implementations§
impl Freeze for SelectFactsProvider
impl RefUnwindSafe for SelectFactsProvider
impl Send for SelectFactsProvider
impl Sync for SelectFactsProvider
impl Unpin for SelectFactsProvider
impl UnsafeUnpin for SelectFactsProvider
impl UnwindSafe for SelectFactsProvider
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