pub struct EventEmissionPermit { /* private fields */ }Expand description
Owned capability created only after the emitter has validated the event against its transactional cursor. Ownership lets asynchronous sinks defer materialization without cloning the event or extending producer lifetimes.
Implementations§
Source§impl EventEmissionPermit
impl EventEmissionPermit
pub fn event(&self) -> &ExecutionEvent
pub fn into_event(self) -> ExecutionEvent
Auto Trait Implementations§
impl Freeze for EventEmissionPermit
impl RefUnwindSafe for EventEmissionPermit
impl Send for EventEmissionPermit
impl Sync for EventEmissionPermit
impl Unpin for EventEmissionPermit
impl UnsafeUnpin for EventEmissionPermit
impl UnwindSafe for EventEmissionPermit
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