pub struct ScopedAgentEventNormalizer { /* private fields */ }Expand description
Default normalizer for one runtime stream.
Implementations§
Source§impl ScopedAgentEventNormalizer
impl ScopedAgentEventNormalizer
Sourcepub fn new(
context: AgentEventNormalizationContext,
) -> ScopedAgentEventNormalizer
pub fn new( context: AgentEventNormalizationContext, ) -> ScopedAgentEventNormalizer
Create a normalizer for one thread/run stream.
Sourcepub fn new_resumed(
context: AgentEventNormalizationContext,
) -> ScopedAgentEventNormalizer
pub fn new_resumed( context: AgentEventNormalizationContext, ) -> ScopedAgentEventNormalizer
Create a normalizer for a stream that resumes an already-started run.
Trait Implementations§
Source§impl AgentEventNormalizer for ScopedAgentEventNormalizer
impl AgentEventNormalizer for ScopedAgentEventNormalizer
Source§fn normalize_many(
&self,
event: &AgentEvent,
) -> Result<Vec<NormalizedCanonicalEvent>, EventStoreError>
fn normalize_many( &self, event: &AgentEvent, ) -> Result<Vec<NormalizedCanonicalEvent>, EventStoreError>
Normalize one runtime event into one or more canonical facts. Read more
Source§fn normalize(
&self,
event: &AgentEvent,
) -> Result<Option<NormalizedCanonicalEvent>, EventStoreError>
fn normalize( &self, event: &AgentEvent, ) -> Result<Option<NormalizedCanonicalEvent>, EventStoreError>
Normalize one runtime event. Read more
Auto Trait Implementations§
impl !Freeze for ScopedAgentEventNormalizer
impl !RefUnwindSafe for ScopedAgentEventNormalizer
impl Send for ScopedAgentEventNormalizer
impl Sync for ScopedAgentEventNormalizer
impl Unpin for ScopedAgentEventNormalizer
impl UnsafeUnpin for ScopedAgentEventNormalizer
impl UnwindSafe for ScopedAgentEventNormalizer
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