Struct lambda_extension::ShutdownEvent
source · [−]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
sourceimpl Debug for ShutdownEvent
impl Debug for ShutdownEvent
sourceimpl<'de> Deserialize<'de> for ShutdownEvent
impl<'de> Deserialize<'de> for ShutdownEvent
sourcefn 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 RefUnwindSafe for ShutdownEvent
impl Send for ShutdownEvent
impl Sync for ShutdownEvent
impl Unpin for ShutdownEvent
impl UnwindSafe for ShutdownEvent
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