Struct cloudformatious::StackWarning
source · [−]pub struct StackWarning {
pub stack_id: String,
pub resource_events: Vec<(ResourceStatus, StackEventDetails)>,
}Expand description
Describes a successful stack operation with warnings.
It is possible for resource errors to occur even when the overall operation succeeds, such
as failing to delete a resource during clean-up after a successful update. Rather than
letting this pass silently, or relying on carefully interrogating StackEvents, the
operation returns an error.
Fields
stack_id: StringThe ID of the stack.
resource_events: Vec<(ResourceStatus, StackEventDetails)>Resource events with negative statuses that did not affect the overall operation.
Note: this is represented as a Vec of tuples to avoid having to worry about
matching StackEvent variants (when it would be a logical error for them to be
anything other than the Resource variant).
Trait Implementations
sourceimpl Debug for StackWarning
impl Debug for StackWarning
Auto Trait Implementations
impl RefUnwindSafe for StackWarning
impl Send for StackWarning
impl Sync for StackWarning
impl Unpin for StackWarning
impl UnwindSafe for StackWarning
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more