Skip to main content

Plan

Struct Plan 

Source
pub struct Plan<I> { /* private fields */ }

Implementations§

Source§

impl<I: Catalog> Plan<I>

Source

pub fn install<'local, 'scope, 'life, 'p, 'd, Q>( self, stage: &Boot<'_, 'scope, 'life, 'p, 'd, Layout<'_, I>, Q>, report: &'local mut Completion, ) -> impl Root<'d, Output = Result<Installed<'local, 'd, I>, Error>> + use<'local, 'd, I, Q>
where 'd: 'p, 'p: 'life, 'life: 'scope + 'local,

Delivers retained cleanup errors to report after this installation is dropped.

Trait Implementations§

Source§

impl<I> Resource for Plan<I>

Source§

fn include_in(&self, needs: Needs) -> Result<Needs, Claim>

Auto Trait Implementations§

§

impl<I> Forget for Plan<I>

§

impl<I> Freeze for Plan<I>
where PhantomData<fn() -> I>: Freeze,

§

impl<I> RefUnwindSafe for Plan<I>
where PhantomData<fn() -> I>: RefUnwindSafe,

§

impl<I> Send for Plan<I>
where PhantomData<fn() -> I>: Send,

§

impl<I> Sync for Plan<I>
where PhantomData<fn() -> I>: Sync,

§

impl<I> Unpin for Plan<I>
where PhantomData<fn() -> I>: Unpin,

§

impl<I> UnsafeUnpin for Plan<I>
where PhantomData<fn() -> I>: UnsafeUnpin,

§

impl<I> UnwindSafe for Plan<I>
where PhantomData<fn() -> I>: UnwindSafe,

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<T> Convert<T> for T

Source§

fn into(self) -> T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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<'w, 'd, W, P, ID> Sink<'w, 'd, W, ID, Never> for P
where ID: Identity, W: Spec<TerminalFailure = Never> + 'w, P: ?Sized,

Source§

fn fail(&self, _: Id<'d, ID>, cause: Error<'w, W>, _: &mut Token<Identity<'d>>)

Source§

impl<'w, 'd, W, P, ID> Sink<'w, 'd, W, ID, Never> for P
where ID: Identity, W: Spec<OpenFailure = Never> + 'w, P: ?Sized,

Source§

fn fail( &self, _: Completion<'_, 'd, ID>, cause: Error<'w, W>, _: &mut Context<'_, 'd>, )

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.