pub struct SelectedSpeculativeRealization { /* private fields */ }Expand description
One authoritative speculative realization selected before native work.
Implementations§
Source§impl SelectedSpeculativeRealization
impl SelectedSpeculativeRealization
Sourcepub const fn requirements(&self) -> &SpeculativeRealizationRequirements
pub const fn requirements(&self) -> &SpeculativeRealizationRequirements
Returns the complete architecture requirements selected once.
Sourcepub const fn placement(&self) -> SelectedSpeculativePlacement
pub const fn placement(&self) -> SelectedSpeculativePlacement
Returns the selected target/draft placement.
Sourcepub const fn sampling(&self) -> SelectedSpeculativeSampling
pub const fn sampling(&self) -> SelectedSpeculativeSampling
Returns selected generic sampling facilities.
Sourcepub const fn state(&self) -> &SelectedSpeculativeState
pub const fn state(&self) -> &SelectedSpeculativeState
Returns selected state and cache identity.
Sourcepub const fn completion(&self) -> SelectedSpeculativeCompletion
pub const fn completion(&self) -> SelectedSpeculativeCompletion
Returns selected exact-completion facilities.
Sourcepub fn lane_identity(
&self,
prepared_input: SpeculativeIdentity,
capture_generation: u64,
) -> SpeculativeLaneIdentity
pub fn lane_identity( &self, prepared_input: SpeculativeIdentity, capture_generation: u64, ) -> SpeculativeLaneIdentity
Completes cache identity with request-local input and capture values.
Sourcepub fn validate_capture<T>(
&self,
lane: &SpeculativeLaneIdentity,
capture: &SpeculativeCaptureEnvelope<T>,
) -> Result<(), SpeculativeCaptureError>
pub fn validate_capture<T>( &self, lane: &SpeculativeLaneIdentity, capture: &SpeculativeCaptureEnvelope<T>, ) -> Result<(), SpeculativeCaptureError>
Validates an actual target capture at the lane boundary.
Trait Implementations§
Source§impl Clone for SelectedSpeculativeRealization
impl Clone for SelectedSpeculativeRealization
Source§fn clone(&self) -> SelectedSpeculativeRealization
fn clone(&self) -> SelectedSpeculativeRealization
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 Eq for SelectedSpeculativeRealization
impl StructuralPartialEq for SelectedSpeculativeRealization
Auto Trait Implementations§
impl Freeze for SelectedSpeculativeRealization
impl RefUnwindSafe for SelectedSpeculativeRealization
impl Send for SelectedSpeculativeRealization
impl Sync for SelectedSpeculativeRealization
impl Unpin for SelectedSpeculativeRealization
impl UnsafeUnpin for SelectedSpeculativeRealization
impl UnwindSafe for SelectedSpeculativeRealization
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