pub enum NextEvent {
Invoke(InvokeEvent),
Shutdown(ShutdownEvent),
}
Expand description
Event that the extension receives in either the INVOKE or SHUTDOWN phase
Variants§
Invoke(InvokeEvent)
Payload when the event happens in the INVOKE phase
Shutdown(ShutdownEvent)
Payload when the event happens in the SHUTDOWN phase
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NextEvent
impl<'de> Deserialize<'de> for NextEvent
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 NextEvent
impl RefUnwindSafe for NextEvent
impl Send for NextEvent
impl Sync for NextEvent
impl Unpin for NextEvent
impl UnwindSafe for NextEvent
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