Skip to main content

CachedPlan

Struct CachedPlan 

Source
pub struct CachedPlan {
    pub plan: Plan,
    /* private fields */
}
Expand description

A full plan and what it was planned from.

Fields§

§plan: Plan

Implementations§

Source§

impl CachedPlan

Source

pub fn desired(&self) -> &DesiredState

The desired state of the store’s working tree (empty without a store).

Source

pub fn memory(&self) -> Arc<SecretMemory> ⓘ

The secret memory the plan rendered with.

Trait Implementations§

Source§

impl Debug for CachedPlan

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Forget for CachedPlan

§

impl Freeze for CachedPlan

§

impl Move for CachedPlan

§

impl RefUnwindSafe for CachedPlan

§

impl Send for CachedPlan
where 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 CachedPlan
where 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 CachedPlan
where *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 CachedPlan

§

impl UnwindSafe for CachedPlan

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> 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> 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> 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