Skip to main content

ExecutorIdentity

Trait ExecutorIdentity 

Source
pub trait ExecutorIdentity: Send + Sync {
    // Required method
    fn identity(&self) -> &str;
}
Expand description

Identity of the executor acquiring and heartbeating leases.

Implemented by the dispatch loop’s configured executor. In the local case, this always returns "runtime". Remote actors in Sprint 4 will provide their registered actor identity string instead.

Required Methods§

Source

fn identity(&self) -> &str

Returns the identity string used as the lease owner.

Implementors§