pub struct ShutdownEvent {
pub shutdown_reason: String,
pub deadline_ms: u64,
}
Expand description
Event received when a Lambda function shuts down.
Fields§
§shutdown_reason: String
The reason why the function terminates It can be SPINDOWN, TIMEOUT, or FAILURE
deadline_ms: u64
The time that the function times out
Trait Implementations§
Source§impl Debug for ShutdownEvent
impl Debug for ShutdownEvent
Source§impl<'de> Deserialize<'de> for ShutdownEvent
impl<'de> Deserialize<'de> for ShutdownEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ShutdownEvent
impl RefUnwindSafe for ShutdownEvent
impl Send for ShutdownEvent
impl Sync for ShutdownEvent
impl Unpin for ShutdownEvent
impl UnwindSafe for ShutdownEvent
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