Enum aws_throwaway::CleanupResources
source · pub enum CleanupResources {
WithAppTag(String),
AllResources,
}Expand description
Specify the cleanup process to use.
Variants§
WithAppTag(String)
Cleanup resources created by all Aws instances that use CleanupResources::WithAppTag of the same tag.
It is highly reccomended that this tag is hardcoded, generating this tag could easily lead to forgotten resources.
AllResources
Cleanup resources created by all Aws instances regardless of whether it was created via CleanupResources::AllResources or [CleanupResources::ResourcesMatchingTag]
Auto Trait Implementations§
impl RefUnwindSafe for CleanupResources
impl Send for CleanupResources
impl Sync for CleanupResources
impl Unpin for CleanupResources
impl UnwindSafe for CleanupResources
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.