Skip to main content

Addressable

Trait Addressable 

Source
pub trait Addressable: Authenticable {
    // Required method
    fn as_agent_id(&self) -> &AgentId;
}
Expand description

Something that can be addressed as agent.

Required Methods§

Source

fn as_agent_id(&self) -> &AgentId

Returns the AgentId reference of the addressable object.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§