Skip to main content

ConversationIdProvider

Trait ConversationIdProvider 

Source
pub trait ConversationIdProvider:
    Debug
    + Send
    + Sync {
    // Required method
    fn next_conversation_id(&self) -> String;
}
Expand description

Generates conversation correlation identifiers at the conversation-open boundary.

Required Methods§

Source

fn next_conversation_id(&self) -> String

Returns the next conversation identifier.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§