pub struct RequestContext {
pub target: Target,
pub run: RunView,
pub requests: Vec<RequestView>,
}Expand description
A request’s place in its saved Run, including the Run’s sibling requests for Detail.
Fields§
§target: Target§run: RunView§requests: Vec<RequestView>Auto Trait Implementations§
impl Forget for RequestContext
impl Freeze for RequestContextwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
NonZero<u32>: Freeze,
PhantomData<ArtifactName>: Freeze,
PhantomData<EvalId>: Freeze,
*const ArcInner<Graph> is !null: Freeze,
PhantomData<ArcInner<Graph>>: Freeze,
*const LeafNode<ProfileKind, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ProfileKind, SetValZST)>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<ArtifactValidation>: Freeze,
PhantomData<EvalValidation>: Freeze,
PhantomData<StoppedBackend>: Freeze,
*const LeafNode<EvalId, RequestStatus> is !null: Freeze,
PhantomData<Box<(EvalId, RequestStatus)>>: Freeze,
PhantomData<Arc<Request>>: Freeze,
PhantomData<Unreadable>: Freeze,
PhantomData<RequestView>: Freeze,
impl Move for RequestContext
impl RefUnwindSafe for RequestContext
impl Send for RequestContextwhere
RawVecInner: Send,
NonZero<i32>: Send,
NonZero<u32>: Send,
Arc<Graph>: Send,
NodeRef<Owned, ProfileKind, SetValZST, LeafOrInternal>: Send,
BoxRaw<(ProfileKind, SetValZST)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, EvalId, RequestStatus, LeafOrInternal>: Send,
BoxRaw<(EvalId, RequestStatus)>: Send,
Arc<Request>: Send,
Arc<Execution>: Send,
Arc<Eval>: Send,
Arc<Artifact>: Send,
impl Sync for RequestContextwhere
RawVecInner: Sync,
NonZero<i32>: Sync,
NonZero<u32>: Sync,
Arc<Graph>: Sync,
NodeRef<Owned, ProfileKind, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(ProfileKind, SetValZST)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, EvalId, RequestStatus, LeafOrInternal>: Sync,
BoxRaw<(EvalId, RequestStatus)>: Sync,
Arc<Request>: Sync,
Arc<Execution>: Sync,
Arc<Eval>: Sync,
Arc<Artifact>: Sync,
impl Unpin for RequestContextwhere
*const u8 is !null: Unpin,
NonZero<i32>: Unpin,
NonZero<u32>: Unpin,
Arc<Graph>: Unpin,
*const LeafNode<ProfileKind, SetValZST> is !null: Unpin,
Box<(ProfileKind, SetValZST)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<EvalId, RequestStatus> is !null: Unpin,
Box<(EvalId, RequestStatus)>: Unpin,
Arc<Request>: Unpin,
Arc<Execution>: Unpin,
Arc<Eval>: Unpin,
Arc<Artifact>: Unpin,
impl UnsafeUnpin for RequestContextwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
PhantomData<ArtifactName>: UnsafeUnpin,
PhantomData<EvalId>: UnsafeUnpin,
*const ArcInner<Graph> is !null: UnsafeUnpin,
PhantomData<ArcInner<Graph>>: UnsafeUnpin,
*const LeafNode<ProfileKind, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ProfileKind, SetValZST)>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<ArtifactValidation>: UnsafeUnpin,
PhantomData<EvalValidation>: UnsafeUnpin,
PhantomData<StoppedBackend>: UnsafeUnpin,
*const LeafNode<EvalId, RequestStatus> is !null: UnsafeUnpin,
PhantomData<Box<(EvalId, RequestStatus)>>: UnsafeUnpin,
PhantomData<Arc<Request>>: UnsafeUnpin,
PhantomData<Unreadable>: UnsafeUnpin,
PhantomData<RequestView>: UnsafeUnpin,
impl UnwindSafe for RequestContextwhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
NonZero<u32>: UnwindSafe,
Arc<Graph>: UnwindSafe,
BTreeMap<ProfileKind, SetValZST>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<EvalId, RequestStatus>: UnwindSafe,
Arc<Request>: UnwindSafe,
Arc<Execution>: UnwindSafe,
Arc<Eval>: UnwindSafe,
Arc<Artifact>: 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