pub struct HostReceiptAttempt { /* private fields */ }Expand description
One admitted task attempt retaining its task lock through publication.
Implementations§
Source§impl HostReceiptAttempt
impl HostReceiptAttempt
pub fn context_decision(&self) -> Option<&DecisionRecordV1>
Auto Trait Implementations§
impl Forget for HostReceiptAttempt
impl Freeze for HostReceiptAttemptwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<CapabilityId>: Freeze,
PhantomData<CapabilityBindingV1>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<EvidenceRefV1>: Freeze,
PhantomData<PlanEntry>: Freeze,
PhantomData<ExcludedEntry>: Freeze,
PhantomData<DeferredEntry>: Freeze,
PhantomData<(String, ProviderStat)>: Freeze,
*const LeafNode<String, Vec<ContextOriginV1>> is !null: Freeze,
PhantomData<Box<(String, Vec<ContextOriginV1>)>>: Freeze,
PhantomData<DecisionReason>: Freeze,
PhantomData<PreloadAction>: Freeze,
PhantomData<PolicyObservation>: Freeze,
PhantomData<ContextSelectionV1>: Freeze,
*const LeafNode<String, ContextProviderStatsV1> is !null: Freeze,
PhantomData<Box<(String, ContextProviderStatsV1)>>: Freeze,
I32NotAllOnes: Freeze,
impl Move for HostReceiptAttempt
impl RefUnwindSafe for HostReceiptAttemptwhere
I32NotAllOnes: RefUnwindSafe,
impl Send for HostReceiptAttemptwhere
RawVecInner: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
RawTable<(String, ProviderStat)>: Send,
NodeRef<Owned, String, Vec<ContextOriginV1>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<ContextOriginV1>)>: Send,
NodeRef<Owned, String, ContextProviderStatsV1, LeafOrInternal>: Send,
BoxRaw<(String, ContextProviderStatsV1)>: Send,
I32NotAllOnes: Send,
impl Sync for HostReceiptAttemptwhere
RawVecInner: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
RawTable<(String, ProviderStat)>: Sync,
NodeRef<Owned, String, Vec<ContextOriginV1>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<ContextOriginV1>)>: Sync,
NodeRef<Owned, String, ContextProviderStatsV1, LeafOrInternal>: Sync,
BoxRaw<(String, ContextProviderStatsV1)>: Sync,
I32NotAllOnes: Sync,
impl Unpin for HostReceiptAttemptwhere
*const u8 is !null: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, Vec<ContextOriginV1>> is !null: Unpin,
Box<(String, Vec<ContextOriginV1>)>: Unpin,
*const LeafNode<String, ContextProviderStatsV1> is !null: Unpin,
Box<(String, ContextProviderStatsV1)>: Unpin,
I32NotAllOnes: Unpin,
impl UnsafeUnpin for HostReceiptAttemptwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<CapabilityId>: UnsafeUnpin,
PhantomData<CapabilityBindingV1>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<EvidenceRefV1>: UnsafeUnpin,
PhantomData<PlanEntry>: UnsafeUnpin,
PhantomData<ExcludedEntry>: UnsafeUnpin,
PhantomData<DeferredEntry>: UnsafeUnpin,
PhantomData<(String, ProviderStat)>: UnsafeUnpin,
*const LeafNode<String, Vec<ContextOriginV1>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Vec<ContextOriginV1>)>>: UnsafeUnpin,
PhantomData<DecisionReason>: UnsafeUnpin,
PhantomData<PreloadAction>: UnsafeUnpin,
PhantomData<PolicyObservation>: UnsafeUnpin,
PhantomData<ContextSelectionV1>: UnsafeUnpin,
*const LeafNode<String, ContextProviderStatsV1> is !null: UnsafeUnpin,
PhantomData<Box<(String, ContextProviderStatsV1)>>: UnsafeUnpin,
I32NotAllOnes: UnsafeUnpin,
impl UnwindSafe for HostReceiptAttemptwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
HashMap<String, ProviderStat>: UnwindSafe,
BTreeMap<String, Vec<ContextOriginV1>>: UnwindSafe,
BTreeMap<String, ContextProviderStatsV1>: UnwindSafe,
I32NotAllOnes: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more