pub struct InMemoryEntityEventSink { /* private fields */ }Implementations§
Source§impl InMemoryEntityEventSink
impl InMemoryEntityEventSink
pub fn new() -> Self
pub fn register(&mut self, sink: impl EntityEventSink + 'static)
pub fn with_sink(self, sink: impl EntityEventSink + 'static) -> Self
Trait Implementations§
Source§impl Clone for InMemoryEntityEventSink
impl Clone for InMemoryEntityEventSink
Source§fn clone(&self) -> InMemoryEntityEventSink
fn clone(&self) -> InMemoryEntityEventSink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for InMemoryEntityEventSink
impl Default for InMemoryEntityEventSink
Source§fn default() -> InMemoryEntityEventSink
fn default() -> InMemoryEntityEventSink
Returns the “default value” for a type. Read more
Source§impl EntityEventSink for InMemoryEntityEventSink
impl EntityEventSink for InMemoryEntityEventSink
fn on_event( &self, ctx: &UserContext, event: &EntityEvent, ) -> Result<(), RuntimeError>
Auto Trait Implementations§
impl Freeze for InMemoryEntityEventSink
impl !RefUnwindSafe for InMemoryEntityEventSink
impl Send for InMemoryEntityEventSink
impl Sync for InMemoryEntityEventSink
impl Unpin for InMemoryEntityEventSink
impl UnsafeUnpin for InMemoryEntityEventSink
impl !UnwindSafe for InMemoryEntityEventSink
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