pub struct CachedPlan {
pub plan: Plan,
/* private fields */
}Expand description
A full plan and what it was planned from.
Fields§
§plan: PlanImplementations§
Source§impl CachedPlan
impl CachedPlan
Sourcepub fn desired(&self) -> &DesiredState
pub fn desired(&self) -> &DesiredState
The desired state of the store’s working tree (empty without a store).
Sourcepub fn memory(&self) -> Arc<SecretMemory> ⓘ
pub fn memory(&self) -> Arc<SecretMemory> ⓘ
The secret memory the plan rendered with.
Trait Implementations§
Auto Trait Implementations§
impl Forget for CachedPlan
impl Freeze for CachedPlanwhere
*const u8 is !null: Freeze,
PhantomData<TargetPlan>: Freeze,
PhantomData<CoreError>: Freeze,
*const LeafNode<String, Server> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Server)>>: Freeze,
*const LeafNode<String, CoreError> is !null: Freeze,
PhantomData<Box<(String, CoreError)>>: Freeze,
*const LeafNode<String, ClientPrefs> is !null: Freeze,
PhantomData<Box<(String, ClientPrefs)>>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Vec<String>> is !null: Freeze,
PhantomData<Box<(String, Vec<String>)>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, SecretEntry> is !null: Freeze,
PhantomData<Box<(String, SecretEntry)>>: Freeze,
*const LeafNode<String, ServerOverride> is !null: Freeze,
PhantomData<Box<(String, ServerOverride)>>: Freeze,
*const LeafNode<String, MachineProject> is !null: Freeze,
PhantomData<Box<(String, MachineProject)>>: Freeze,
*const LeafNode<String, Alias> is !null: Freeze,
PhantomData<Box<(String, Alias)>>: Freeze,
PhantomData<LedgerEntry>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const ArcInner<SecretMemory> is !null: Freeze,
PhantomData<ArcInner<SecretMemory>>: Freeze,
impl Move for CachedPlan
impl RefUnwindSafe for CachedPlan
impl Send for CachedPlanwhere
RawVecInner: Send,
&'static str: Send,
&'static [&'static str]: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, &'static str, bool, LeafOrInternal>: Send,
BoxRaw<(&'static str, bool)>: Send,
NodeRef<Owned, String, Server, LeafOrInternal>: Send,
BoxRaw<(String, Server)>: Send,
NodeRef<Owned, String, CoreError, LeafOrInternal>: Send,
BoxRaw<(String, CoreError)>: Send,
NodeRef<Owned, String, ClientPrefs, LeafOrInternal>: Send,
BoxRaw<(String, ClientPrefs)>: Send,
NodeRef<Owned, String, Vec<String>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<String>)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, SecretEntry, LeafOrInternal>: Send,
BoxRaw<(String, SecretEntry)>: Send,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Send,
BoxRaw<(String, ServerOverride)>: Send,
NodeRef<Owned, String, MachineProject, LeafOrInternal>: Send,
BoxRaw<(String, MachineProject)>: Send,
NodeRef<Owned, String, Alias, LeafOrInternal>: Send,
BoxRaw<(String, Alias)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
Arc<SecretMemory>: Send,
impl Sync for CachedPlanwhere
RawVecInner: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, &'static str, bool, LeafOrInternal>: Sync,
BoxRaw<(&'static str, bool)>: Sync,
NodeRef<Owned, String, Server, LeafOrInternal>: Sync,
BoxRaw<(String, Server)>: Sync,
NodeRef<Owned, String, CoreError, LeafOrInternal>: Sync,
BoxRaw<(String, CoreError)>: Sync,
NodeRef<Owned, String, ClientPrefs, LeafOrInternal>: Sync,
BoxRaw<(String, ClientPrefs)>: Sync,
NodeRef<Owned, String, Vec<String>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<String>)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, SecretEntry, LeafOrInternal>: Sync,
BoxRaw<(String, SecretEntry)>: Sync,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Sync,
BoxRaw<(String, ServerOverride)>: Sync,
NodeRef<Owned, String, MachineProject, LeafOrInternal>: Sync,
BoxRaw<(String, MachineProject)>: Sync,
NodeRef<Owned, String, Alias, LeafOrInternal>: Sync,
BoxRaw<(String, Alias)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
Arc<SecretMemory>: Sync,
impl Unpin for CachedPlanwhere
*const u8 is !null: Unpin,
&'static str: Unpin,
&'static [&'static str]: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<&'static str, bool> is !null: Unpin,
Box<(&'static str, bool)>: Unpin,
*const LeafNode<String, Server> is !null: Unpin,
Box<(String, Server)>: Unpin,
*const LeafNode<String, CoreError> is !null: Unpin,
Box<(String, CoreError)>: Unpin,
*const LeafNode<String, ClientPrefs> is !null: Unpin,
Box<(String, ClientPrefs)>: Unpin,
*const LeafNode<String, Vec<String>> is !null: Unpin,
Box<(String, Vec<String>)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, SecretEntry> is !null: Unpin,
Box<(String, SecretEntry)>: Unpin,
*const LeafNode<String, ServerOverride> is !null: Unpin,
Box<(String, ServerOverride)>: Unpin,
*const LeafNode<String, MachineProject> is !null: Unpin,
Box<(String, MachineProject)>: Unpin,
*const LeafNode<String, Alias> is !null: Unpin,
Box<(String, Alias)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
Arc<SecretMemory>: Unpin,
impl UnsafeUnpin for CachedPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<TargetPlan>: UnsafeUnpin,
PhantomData<CoreError>: UnsafeUnpin,
*const LeafNode<String, Server> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Server)>>: UnsafeUnpin,
*const LeafNode<String, CoreError> is !null: UnsafeUnpin,
PhantomData<Box<(String, CoreError)>>: UnsafeUnpin,
*const LeafNode<String, ClientPrefs> is !null: UnsafeUnpin,
PhantomData<Box<(String, ClientPrefs)>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Vec<String>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Vec<String>)>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, SecretEntry> is !null: UnsafeUnpin,
PhantomData<Box<(String, SecretEntry)>>: UnsafeUnpin,
*const LeafNode<String, ServerOverride> is !null: UnsafeUnpin,
PhantomData<Box<(String, ServerOverride)>>: UnsafeUnpin,
*const LeafNode<String, MachineProject> is !null: UnsafeUnpin,
PhantomData<Box<(String, MachineProject)>>: UnsafeUnpin,
*const LeafNode<String, Alias> is !null: UnsafeUnpin,
PhantomData<Box<(String, Alias)>>: UnsafeUnpin,
PhantomData<LedgerEntry>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const ArcInner<SecretMemory> is !null: UnsafeUnpin,
PhantomData<ArcInner<SecretMemory>>: UnsafeUnpin,
impl UnwindSafe for CachedPlanwhere
RawVecInner: UnwindSafe,
&'static str: UnwindSafe,
&'static [&'static str]: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<&'static str, bool>: UnwindSafe,
BTreeMap<String, Server>: UnwindSafe,
BTreeMap<String, CoreError>: UnwindSafe,
BTreeMap<String, ClientPrefs>: UnwindSafe,
BTreeMap<String, Vec<String>>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, SecretEntry>: UnwindSafe,
BTreeMap<String, ServerOverride>: UnwindSafe,
BTreeMap<String, MachineProject>: UnwindSafe,
BTreeMap<String, Alias>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
Arc<SecretMemory>: 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