pub struct Snapshot {
pub origin: Origin,
pub catalog: Catalog,
pub scope: Scope,
pub runs: Vec<RunSummary>,
pub selected_id: Option<RunId>,
pub selected: Option<Opened>,
}Expand description
One consistent read: the catalog, the scope’s Runs page and the selected Run with its tree.
Fields§
§origin: Origin§catalog: Catalog§scope: Scope§runs: Vec<RunSummary>§selected_id: Option<RunId>§selected: Option<Opened>The selected Run when it was read again: its requests, projected tree and a share in its memory, kept after the rest so the memory goes back once nothing shows the Run.
Auto Trait Implementations§
impl Forget for Snapshot
impl Freeze for Snapshotwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<Vec<CatalogRun>> is !null: Freeze,
PhantomData<ArcInner<Vec<CatalogRun>>>: Freeze,
*const LeafNode<PathBuf, Identity> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(PathBuf, Identity)>>: Freeze,
*const LeafNode<PathBuf, Vec<Worktree>> is !null: Freeze,
PhantomData<Box<(PathBuf, Vec<Worktree>)>>: Freeze,
PhantomData<CatalogRow>: Freeze,
*const LeafNode<Scope, BTreeSet<PathBuf>> is !null: Freeze,
PhantomData<Box<(Scope, BTreeSet<PathBuf>)>>: Freeze,
*const LeafNode<Repository, SetValZST> is !null: Freeze,
PhantomData<Box<(Repository, SetValZST)>>: Freeze,
PhantomData<RunSummary>: 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<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,
*const ArcInner<Vec<Node>> is !null: Freeze,
PhantomData<ArcInner<Vec<Node>>>: Freeze,
*const ArcInner<Release> is !null: Freeze,
PhantomData<ArcInner<Release>>: Freeze,
impl Move for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshotwhere
RawVecInner: Send,
Arc<Vec<CatalogRun>>: Send,
NodeRef<Owned, PathBuf, Identity, LeafOrInternal>: Send,
BoxRaw<(PathBuf, Identity)>: Send,
NodeRef<Owned, PathBuf, Vec<Worktree>, LeafOrInternal>: Send,
BoxRaw<(PathBuf, Vec<Worktree>)>: Send,
NodeRef<Owned, Signoff, SetValZST, LeafOrInternal>: Send,
BoxRaw<(Signoff, SetValZST)>: Send,
NodeRef<Owned, Scope, BTreeSet<PathBuf>, LeafOrInternal>: Send,
BoxRaw<(Scope, BTreeSet<PathBuf>)>: Send,
NodeRef<Owned, Repository, SetValZST, LeafOrInternal>: Send,
BoxRaw<(Repository, SetValZST)>: Send,
NonZero<i32>: Send,
NodeRef<Owned, RequestStatus, u64, LeafOrInternal>: Send,
BoxRaw<(RequestStatus, u64)>: 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,
Arc<Vec<Node>>: Send,
Arc<Release>: Send,
impl Sync for Snapshotwhere
RawVecInner: Sync,
Arc<Vec<CatalogRun>>: Sync,
NodeRef<Owned, PathBuf, Identity, LeafOrInternal>: Sync,
BoxRaw<(PathBuf, Identity)>: Sync,
NodeRef<Owned, PathBuf, Vec<Worktree>, LeafOrInternal>: Sync,
BoxRaw<(PathBuf, Vec<Worktree>)>: Sync,
NodeRef<Owned, Signoff, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(Signoff, SetValZST)>: Sync,
NodeRef<Owned, Scope, BTreeSet<PathBuf>, LeafOrInternal>: Sync,
BoxRaw<(Scope, BTreeSet<PathBuf>)>: Sync,
NodeRef<Owned, Repository, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(Repository, SetValZST)>: Sync,
NonZero<i32>: Sync,
NodeRef<Owned, RequestStatus, u64, LeafOrInternal>: Sync,
BoxRaw<(RequestStatus, u64)>: 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,
Arc<Vec<Node>>: Sync,
Arc<Release>: Sync,
impl Unpin for Snapshotwhere
*const u8 is !null: Unpin,
Arc<Vec<CatalogRun>>: Unpin,
*const LeafNode<PathBuf, Identity> is !null: Unpin,
Box<(PathBuf, Identity)>: Unpin,
*const LeafNode<PathBuf, Vec<Worktree>> is !null: Unpin,
Box<(PathBuf, Vec<Worktree>)>: Unpin,
*const LeafNode<Signoff, SetValZST> is !null: Unpin,
Box<(Signoff, SetValZST)>: Unpin,
*const LeafNode<Scope, BTreeSet<PathBuf>> is !null: Unpin,
Box<(Scope, BTreeSet<PathBuf>)>: Unpin,
*const LeafNode<Repository, SetValZST> is !null: Unpin,
Box<(Repository, SetValZST)>: Unpin,
NonZero<i32>: Unpin,
*const LeafNode<RequestStatus, u64> is !null: Unpin,
Box<(RequestStatus, u64)>: 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,
Arc<Vec<Node>>: Unpin,
Arc<Release>: Unpin,
impl UnsafeUnpin for Snapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Vec<CatalogRun>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<CatalogRun>>>: UnsafeUnpin,
*const LeafNode<PathBuf, Identity> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(PathBuf, Identity)>>: UnsafeUnpin,
*const LeafNode<PathBuf, Vec<Worktree>> is !null: UnsafeUnpin,
PhantomData<Box<(PathBuf, Vec<Worktree>)>>: UnsafeUnpin,
PhantomData<CatalogRow>: UnsafeUnpin,
*const LeafNode<Scope, BTreeSet<PathBuf>> is !null: UnsafeUnpin,
PhantomData<Box<(Scope, BTreeSet<PathBuf>)>>: UnsafeUnpin,
*const LeafNode<Repository, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(Repository, SetValZST)>>: UnsafeUnpin,
PhantomData<RunSummary>: 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<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,
*const ArcInner<Vec<Node>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<Node>>>: UnsafeUnpin,
*const ArcInner<Release> is !null: UnsafeUnpin,
PhantomData<ArcInner<Release>>: UnsafeUnpin,
impl UnwindSafe for Snapshotwhere
RawVecInner: UnwindSafe,
Arc<Vec<CatalogRun>>: UnwindSafe,
BTreeMap<PathBuf, Identity>: UnwindSafe,
BTreeMap<PathBuf, Vec<Worktree>>: UnwindSafe,
BTreeMap<Signoff, SetValZST>: UnwindSafe,
BTreeMap<Scope, BTreeSet<PathBuf>>: UnwindSafe,
BTreeMap<Repository, SetValZST>: UnwindSafe,
NonZero<i32>: UnwindSafe,
BTreeMap<RequestStatus, u64>: 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,
Arc<Vec<Node>>: UnwindSafe,
Arc<Release>: 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