pub trait Routable {
// Required methods
fn destination(&self) -> u64;
fn access_type(&self) -> AccessType;
}Expand description
The Routable trait provides an interface to an object to enable it to be
routed
Required Methods§
fn destination(&self) -> u64
fn access_type(&self) -> AccessType
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".