pub struct SuppliedFrom<'r> {
pub target: u32,
pub attempt: Option<&'r AttemptRecord>,
pub reused_from: Option<&'r str>,
}Expand description
Where a supplied value came from (spec 004, 3.2).
Fields§
§target: u32The producing target of an output; for a failure, the to of the
last fallback transition, else 0.
attempt: Option<&'r AttemptRecord>The producing attempt: an output’s last attempt; a failure’s last
attempt only when no retry or fallback transition has an after
equal to its ordinal.
reused_from: Option<&'r str>For an output reused from a cache entry (spec 017, 3.8): the attempt of an earlier decision that produced it. Set only when the record has no attempt of its own and its optimization record names a hit.
Trait Implementations§
Source§impl<'r> Clone for SuppliedFrom<'r>
impl<'r> Clone for SuppliedFrom<'r>
impl<'r> Copy for SuppliedFrom<'r>
Source§impl<'r> Debug for SuppliedFrom<'r>
impl<'r> Debug for SuppliedFrom<'r>
Source§impl<'r> PartialEq for SuppliedFrom<'r>
impl<'r> PartialEq for SuppliedFrom<'r>
impl<'r> StructuralPartialEq for SuppliedFrom<'r>
Auto Trait Implementations§
impl<'r> Freeze for SuppliedFrom<'r>
impl<'r> RefUnwindSafe for SuppliedFrom<'r>
impl<'r> Send for SuppliedFrom<'r>
impl<'r> Sync for SuppliedFrom<'r>
impl<'r> Unpin for SuppliedFrom<'r>
impl<'r> UnsafeUnpin for SuppliedFrom<'r>
impl<'r> UnwindSafe for SuppliedFrom<'r>
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