pub struct SelectedSpeculativeState { /* private fields */ }Expand description
State/cache identity paired with selected target/draft placement.
Implementations§
Source§impl SelectedSpeculativeState
impl SelectedSpeculativeState
Sourcepub const fn identity(&self) -> &SpeculativeStateCacheIdentityIngredients
pub const fn identity(&self) -> &SpeculativeStateCacheIdentityIngredients
Returns exact architecture and artifact identity ingredients.
Sourcepub const fn placement(&self) -> SpeculativeExecutionTopology
pub const fn placement(&self) -> SpeculativeExecutionTopology
Returns target/draft placement included in cache identity.
Trait Implementations§
Source§impl Clone for SelectedSpeculativeState
impl Clone for SelectedSpeculativeState
Source§fn clone(&self) -> SelectedSpeculativeState
fn clone(&self) -> SelectedSpeculativeState
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 moreSource§impl Debug for SelectedSpeculativeState
impl Debug for SelectedSpeculativeState
impl Eq for SelectedSpeculativeState
Source§impl PartialEq for SelectedSpeculativeState
impl PartialEq for SelectedSpeculativeState
impl StructuralPartialEq for SelectedSpeculativeState
Auto Trait Implementations§
impl Freeze for SelectedSpeculativeState
impl RefUnwindSafe for SelectedSpeculativeState
impl Send for SelectedSpeculativeState
impl Sync for SelectedSpeculativeState
impl Unpin for SelectedSpeculativeState
impl UnsafeUnpin for SelectedSpeculativeState
impl UnwindSafe for SelectedSpeculativeState
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