pub struct ControlledPumpBatch<R: Runtime<DType = DType>> { /* private fields */ }Expand description
Complete accepted controls and an explicit memoryless actual pump response model.
Implementations§
Source§impl<R: Runtime<DType = DType>> ControlledPumpBatch<R>
impl<R: Runtime<DType = DType>> ControlledPumpBatch<R>
Sourcepub fn new(
controls: OperatingControlBatch<R>,
definitions: Vec<PumpResponseDefinition>,
) -> Result<Self, StructureError>
pub fn new( controls: OperatingControlBatch<R>, definitions: Vec<PumpResponseDefinition>, ) -> Result<Self, StructureError>
Adopt any checked pump-only controller continuation with complete explicit response evidence.
Advanced controls remain eligible because this response has no independent continuation memory.
Sourcepub fn controls(&self) -> &OperatingControlBatch<R>
pub fn controls(&self) -> &OperatingControlBatch<R>
Accepted command continuation, exposed immutably for explicit control projections.
Sourcepub fn definitions(&self) -> &[PumpResponseDefinition]
pub fn definitions(&self) -> &[PumpResponseDefinition]
Complete original ordered response assumptions and provenance.
Sourcepub fn accepted_steps(&self) -> usize
pub fn accepted_steps(&self) -> usize
Original accepted control interval count. No independent response counter exists.
Sourcepub fn next_event(&self) -> Option<ControlEvent>
pub fn next_event(&self) -> Option<ControlEvent>
Next original sampled decision or terminal support boundary.
Sourcepub fn trial_to(
&self,
end_s: f64,
samples: &[ControlSample],
) -> Result<ControlledPumpTrial<R>, StructureError>where
R::Client: BinaryOps<R> + CompareOps<R> + ConditionalOps<R> + ReduceOps<R> + ScalarOps<R> + TwoSumOps<R> + TypeConversionOps<R> + UnaryOps<R>,
pub fn trial_to(
&self,
end_s: f64,
samples: &[ControlSample],
) -> Result<ControlledPumpTrial<R>, StructureError>where
R::Client: BinaryOps<R> + CompareOps<R> + ConditionalOps<R> + ReduceOps<R> + ScalarOps<R> + TwoSumOps<R> + TypeConversionOps<R> + UnaryOps<R>,
Trial sampled controls without changing accepted operation or qualification memory.
The candidate command governs the response on the endpoint’s right side. No water transfer follows.
Sourcepub fn outputs(&self) -> Result<Vec<ControlledPumpOutput>, StructureError>where
R::Client: ConditionalOps<R>,
pub fn outputs(&self) -> Result<Vec<ControlledPumpOutput>, StructureError>where
R::Client: ConditionalOps<R>,
Explicitly project actual operation, original controller identity, and response assumptions.
Sourcepub fn operations(&self) -> Result<Vec<StructureOperation>, StructureError>where
R::Client: ConditionalOps<R>,
pub fn operations(&self) -> Result<Vec<StructureOperation>, StructureError>where
R::Client: ConditionalOps<R>,
Explicitly project original-order operation packets without claiming hydraulic or transfer acceptance.
Source§impl<R: Runtime<DType = DType>> ControlledPumpBatch<R>
impl<R: Runtime<DType = DType>> ControlledPumpBatch<R>
Sourcepub fn snapshot(&self) -> ControlledPumpSnapshot<R>
pub fn snapshot(&self) -> ControlledPumpSnapshot<R>
Clone complete accepted continuation without derived-state array readback.
Sourcepub fn snapshot_data(
&self,
) -> Result<ControlledPumpSnapshotData, StructureError>
pub fn snapshot_data( &self, ) -> Result<ControlledPumpSnapshotData, StructureError>
Explicitly project response assumptions and complete original control continuation.
Sourcepub fn restore(
&mut self,
snapshot: &ControlledPumpSnapshot<R>,
) -> Result<(), StructureError>
pub fn restore( &mut self, snapshot: &ControlledPumpSnapshot<R>, ) -> Result<(), StructureError>
Restore trusted control continuation while retaining the complete destination response context.
Sourcepub fn restore_data(
&mut self,
data: &ControlledPumpSnapshotData,
) -> Result<(), StructureError>where
R::Client: BinaryOps<R> + CompareOps<R> + ConditionalOps<R> + ReduceOps<R> + ScalarOps<R> + TwoSumOps<R> + TypeConversionOps<R> + UnaryOps<R>,
pub fn restore_data(
&mut self,
data: &ControlledPumpSnapshotData,
) -> Result<(), StructureError>where
R::Client: BinaryOps<R> + CompareOps<R> + ConditionalOps<R> + ReduceOps<R> + ScalarOps<R> + TwoSumOps<R> + TypeConversionOps<R> + UnaryOps<R>,
Check response assumptions and complete caller-owned child continuation before atomic replacement.
Child bounded consistency checks establish no complete historical authenticity.
Trait Implementations§
Auto Trait Implementations§
impl<R> !RefUnwindSafe for ControlledPumpBatch<R>
impl<R> !UnwindSafe for ControlledPumpBatch<R>
impl<R> Forget for ControlledPumpBatch<R>
impl<R> Freeze for ControlledPumpBatch<R>
impl<R> Move for ControlledPumpBatch<R>
impl<R> Send for ControlledPumpBatch<R>
impl<R> Sync for ControlledPumpBatch<R>
impl<R> Unpin for ControlledPumpBatch<R>
impl<R> UnsafeUnpin for ControlledPumpBatch<R>
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<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.