pub struct InMemoryFlowEventObserver { /* private fields */ }Expand description
In-memory observer for tests, local debugging, and embedded hosts.
Implementations§
Source§impl InMemoryFlowEventObserver
impl InMemoryFlowEventObserver
pub fn new() -> Self
pub async fn events(&self) -> Vec<FlowEventEnvelope>
pub async fn event_keys(&self) -> Vec<&'static str>
Trait Implementations§
Source§impl Debug for InMemoryFlowEventObserver
impl Debug for InMemoryFlowEventObserver
Source§impl Default for InMemoryFlowEventObserver
impl Default for InMemoryFlowEventObserver
Source§fn default() -> InMemoryFlowEventObserver
fn default() -> InMemoryFlowEventObserver
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for InMemoryFlowEventObserver
impl !RefUnwindSafe for InMemoryFlowEventObserver
impl Send for InMemoryFlowEventObserver
impl Sync for InMemoryFlowEventObserver
impl Unpin for InMemoryFlowEventObserver
impl UnsafeUnpin for InMemoryFlowEventObserver
impl UnwindSafe for InMemoryFlowEventObserver
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