pub enum SetupEmission {
Never,
WhenFrozen,
Always,
}Expand description
When a resource type contributes anything to the setup artifact.
Most types answer with the lifecycle alone. A sandbox does not: a Live one still needs the
setup stack to create its build role, since the runtime controller may only pass it —
sandbox/provision grants iam:PassRole and no iam:CreateRole. Only the image moves.
Variants§
Never
Never part of the setup artifact; a runtime controller owns the whole resource.
WhenFrozen
Emitted only when the resource is Frozen.
Always
Scaffolding under either lifecycle. Setup still only owns the Frozen one — the Live resource itself belongs to a runtime controller, which is why the two accessors below disagree for exactly these types.
Trait Implementations§
Source§impl Clone for SetupEmission
impl Clone for SetupEmission
Source§fn clone(&self) -> SetupEmission
fn clone(&self) -> SetupEmission
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SetupEmission
Source§impl Debug for SetupEmission
impl Debug for SetupEmission
impl Eq for SetupEmission
Source§impl PartialEq for SetupEmission
impl PartialEq for SetupEmission
impl StructuralPartialEq for SetupEmission
Auto Trait Implementations§
impl Freeze for SetupEmission
impl RefUnwindSafe for SetupEmission
impl Send for SetupEmission
impl Sync for SetupEmission
impl Unpin for SetupEmission
impl UnsafeUnpin for SetupEmission
impl UnwindSafe for SetupEmission
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.