pub struct RequestPreflight {
pub sampling_policy: SamplingPolicy,
pub sampling_certificate: SamplingCertificate,
pub work_estimate: WorkEstimate,
}Expand description
Successful sampling and work evidence obtained before field allocation.
Fields§
§sampling_policy: SamplingPolicyPolicy applied to the sampling certificate.
sampling_certificate: SamplingCertificatePhysical sampling measurements and thresholds.
work_estimate: WorkEstimateChecked work and storage counts.
Implementations§
Source§impl RequestPreflight
impl RequestPreflight
Sourcepub fn admit(
problem: &InterferenceProblem,
plane: &SamplingPlane,
sampling_policy: SamplingPolicy,
sampling_thresholds: SamplingThresholds,
work_budget: WorkBudget,
) -> Result<Self, InterferenceError>
pub fn admit( problem: &InterferenceProblem, plane: &SamplingPlane, sampling_policy: SamplingPolicy, sampling_thresholds: SamplingThresholds, work_budget: WorkBudget, ) -> Result<Self, InterferenceError>
Classifies and budgets one request without allocating field storage.
Trait Implementations§
Source§impl Clone for RequestPreflight
impl Clone for RequestPreflight
Source§fn clone(&self) -> RequestPreflight
fn clone(&self) -> RequestPreflight
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestPreflight
Source§impl Debug for RequestPreflight
impl Debug for RequestPreflight
Source§impl PartialEq for RequestPreflight
impl PartialEq for RequestPreflight
impl StructuralPartialEq for RequestPreflight
Auto Trait Implementations§
impl Freeze for RequestPreflight
impl RefUnwindSafe for RequestPreflight
impl Send for RequestPreflight
impl Sync for RequestPreflight
impl Unpin for RequestPreflight
impl UnsafeUnpin for RequestPreflight
impl UnwindSafe for RequestPreflight
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