pub struct SpeculationPlan<'catalog> {
pub profile: Option<CacheProfile>,
pub drafter: Option<&'catalog CatalogModel>,
pub implicit: bool,
}Expand description
How a launch will speculate, decided before any side effect.
Fields§
§profile: Option<CacheProfile>§drafter: Option<&'catalog CatalogModel>§implicit: boolrigspark chose to draft without being asked, so it may fall back silently.
Trait Implementations§
Auto Trait Implementations§
impl<'catalog> Forget for SpeculationPlan<'catalog>
impl<'catalog> Freeze for SpeculationPlan<'catalog>
impl<'catalog> RefUnwindSafe for SpeculationPlan<'catalog>
impl<'catalog> Send for SpeculationPlan<'catalog>
impl<'catalog> Sync for SpeculationPlan<'catalog>
impl<'catalog> Unpin for SpeculationPlan<'catalog>
impl<'catalog> UnsafeUnpin for SpeculationPlan<'catalog>
impl<'catalog> UnwindSafe for SpeculationPlan<'catalog>
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