Skip to main content

Completed

Struct Completed 

Source
pub struct Completed {
    pub selection: Selection,
    pub loader: Loader,
    pub result: Result<Snapshot, String>,
}

Fields§

§selection: Selection§loader: Loader§result: Result<Snapshot, String>

Implementations§

Source§

impl Completed

Source

pub fn run(selection: Selection, loader: Loader, input: Input) -> Self

Read the snapshot of input with loader, keeping what the caller needs to apply it.

Auto Trait Implementations§

§

impl !Freeze for Completed

§

impl !RefUnwindSafe for Completed

§

impl !Sync for Completed

§

impl !UnwindSafe for Completed

§

impl Forget for Completed

§

impl Move for Completed

§

impl Send for Completed
where RawVecInner: Send, I32NotAllOnes: Send, Connection: 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, RawTable<(EvalId, usize)>: Send, RawTable<(usize, Arc<Eval>)>: Send, RawTable<(ArtifactName, Arc<Artifact>)>: Send, NodeRef<Owned, RequestId, Kept, LeafOrInternal>: Send, BoxRaw<(RequestId, Kept)>: Send, Arc<Release>: 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, NodeRef<Owned, RequestStatus, u64, LeafOrInternal>: Send, BoxRaw<(RequestStatus, u64)>: Send, Arc<Request>: Send, Arc<Execution>: Send, Arc<Eval>: Send, Arc<Artifact>: Send, Arc<Vec<Node>>: Send,

§

impl Unpin for Completed
where *const u8 is !null: Unpin, I32NotAllOnes: Unpin, *mut sqlite3: Unpin, Arc<Mutex<*mut sqlite3>>: Unpin, *const Node<Arc<str>, RawStatement> 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<Eval>: Unpin, Arc<Artifact>: Unpin, *const LeafNode<RequestId, Kept> is !null: Unpin, Box<(RequestId, Kept)>: Unpin, Arc<Release>: 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, *const LeafNode<RequestStatus, u64> is !null: Unpin, Box<(RequestStatus, u64)>: Unpin, Arc<Request>: Unpin, Arc<Execution>: Unpin, Arc<Vec<Node>>: Unpin,

§

impl UnsafeUnpin for Completed
where *const u8 is !null: UnsafeUnpin, PhantomData<u8>: UnsafeUnpin, I32NotAllOnes: UnsafeUnpin, *mut sqlite3: UnsafeUnpin, *const ArcInner<Mutex<*mut sqlite3>> is !null: UnsafeUnpin, PhantomData<ArcInner<Mutex<*mut sqlite3>>>: UnsafeUnpin, PhantomData<NonNull<Node<Arc<str>, RawStatement>>>: UnsafeUnpin, *const Node<Arc<str>, RawStatement> is !null: UnsafeUnpin, PhantomData<Unreadable>: 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<(EvalId, usize)>: UnsafeUnpin, PhantomData<(usize, Arc<Eval>)>: UnsafeUnpin, PhantomData<(ArtifactName, Arc<Artifact>)>: UnsafeUnpin, *const LeafNode<RequestId, Kept> is !null: UnsafeUnpin, PhantomData<Box<(RequestId, Kept)>>: UnsafeUnpin, *const ArcInner<Release> is !null: UnsafeUnpin, PhantomData<ArcInner<Release>>: UnsafeUnpin, *const ArcInner<Vec<CatalogRun>> is !null: UnsafeUnpin, PhantomData<ArcInner<Vec<CatalogRun>>>: UnsafeUnpin, *const LeafNode<PathBuf, Identity> is !null: 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, PhantomData<Arc<Request>>: UnsafeUnpin, PhantomData<RequestView>: UnsafeUnpin, *const ArcInner<Vec<Node>> is !null: UnsafeUnpin, PhantomData<ArcInner<Vec<Node>>>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WasmCompatSend for T
where T: Send,

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more