pub struct Plan<S, I>(/* private fields */);Expand description
Unresolved storage and installer retained as one startup input.
Resolution consumes both values and retains the claimed installer in the
resulting Prepared, so installation uses those exact resource owners.
Implementations§
Source§impl<S, I> Plan<S, I>
impl<S, I> Plan<S, I>
pub const fn new(storage: S, install: I) -> Self
Sourcepub fn into_parts(self) -> (S, I)
pub fn into_parts(self) -> (S, I)
Transfers both resource owners into a larger topology.
pub fn for_profile<P>(self) -> Result<Prepared<S, I>, Claim>
pub fn with_config(self, baseline: Config) -> Result<Prepared<S, I>, Claim>
pub fn for_receive<P>(self) -> Result<Prepared<S, I>, Claim>
pub fn for_install<P>(self) -> Result<Prepared<S, I>, Claim>
pub fn with_install(self, baseline: Config) -> Result<Prepared<S, I>, Claim>
Auto Trait Implementations§
impl<S, I> Freeze for Plan<S, I>
impl<S, I> RefUnwindSafe for Plan<S, I>where
(S, I): RefUnwindSafe,
impl<S, I> Send for Plan<S, I>
impl<S, I> Sync for Plan<S, I>
impl<S, I> Unpin for Plan<S, I>
impl<S, I> UnsafeUnpin for Plan<S, I>where
(S, I): UnsafeUnpin,
impl<S, I> UnwindSafe for Plan<S, I>where
(S, I): 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