pub enum ServiceEventData<'a, R> {
Standard(&'a HookResult<R>),
Custom(&'a Arc<dyn Any + Send + Sync>),
}Expand description
Data delivered to event listeners.
Variants§
Auto Trait Implementations§
impl<'a, R> Freeze for ServiceEventData<'a, R>
impl<'a, R> !RefUnwindSafe for ServiceEventData<'a, R>
impl<'a, R> Send for ServiceEventData<'a, R>where
R: Sync,
impl<'a, R> Sync for ServiceEventData<'a, R>where
R: Sync,
impl<'a, R> Unpin for ServiceEventData<'a, R>
impl<'a, R> !UnwindSafe for ServiceEventData<'a, R>
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