pub struct InMemoryEventPublisher { /* private fields */ }Implementations§
Source§impl InMemoryEventPublisher
impl InMemoryEventPublisher
pub async fn snapshot(&self) -> Vec<RuntimeEvent>
Trait Implementations§
Source§impl Clone for InMemoryEventPublisher
impl Clone for InMemoryEventPublisher
Source§fn clone(&self) -> InMemoryEventPublisher
fn clone(&self) -> InMemoryEventPublisher
Returns a duplicate of the value. Read more
1.0.0 · 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 InMemoryEventPublisher
impl Default for InMemoryEventPublisher
Source§fn default() -> InMemoryEventPublisher
fn default() -> InMemoryEventPublisher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InMemoryEventPublisher
impl !RefUnwindSafe for InMemoryEventPublisher
impl Send for InMemoryEventPublisher
impl Sync for InMemoryEventPublisher
impl Unpin for InMemoryEventPublisher
impl UnsafeUnpin for InMemoryEventPublisher
impl !UnwindSafe for InMemoryEventPublisher
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