pub struct IntegralPlan { /* private fields */ }Expand description
Inspectable integral-serial plan with separately bound parameter tracks.
Implementations§
Source§impl IntegralPlan
impl IntegralPlan
Sourcepub fn new(length: usize) -> Self
pub fn new(length: usize) -> Self
Constructs an empty plan that projects every bound track against length.
Sourcepub fn bind_parameter<T: ParameterValue + Send + Sync + 'static>(
&mut self,
track: ParameterTrack<T>,
) -> Result<(), IntegralError>
pub fn bind_parameter<T: ParameterValue + Send + Sync + 'static>( &mut self, track: ParameterTrack<T>, ) -> Result<(), IntegralError>
Binds one typed parameter track while preserving its independent ordinal ledger.
Sourcepub fn parameter(&self, name: &str) -> Option<&dyn ErasedParameterBinding>
pub fn parameter(&self, name: &str) -> Option<&dyn ErasedParameterBinding>
Returns one type-erased bound parameter by stable name.
Sourcepub fn typed_parameter<T: ParameterValue>(
&self,
name: &str,
) -> Option<&BoundParameterTrack<T>>
pub fn typed_parameter<T: ParameterValue>( &self, name: &str, ) -> Option<&BoundParameterTrack<T>>
Returns one typed bound parameter when name and T both match.
Sourcepub fn parameter_names(&self) -> Vec<&str>
pub fn parameter_names(&self) -> Vec<&str>
Returns the stable parameter names in sorted order.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for IntegralPlan
impl !UnwindSafe for IntegralPlan
impl Freeze for IntegralPlan
impl Send for IntegralPlan
impl Sync for IntegralPlan
impl Unpin for IntegralPlan
impl UnsafeUnpin for IntegralPlan
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