aws_runtime::invocation_id

Trait InvocationIdGenerator

Source
pub trait InvocationIdGenerator:
    Debug
    + Send
    + Sync {
    // Required method
    fn generate(&self) -> Result<Option<InvocationId>, BoxError>;
}
Expand description

A generator for returning new invocation IDs on demand.

Required Methods§

Source

fn generate(&self) -> Result<Option<InvocationId>, BoxError>

Call this function to receive a new InvocationId or an error explaining why one couldn’t be provided.

Implementors§