Skip to main content

Routable

Trait Routable 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Routable for i32

Source§

impl Routable for usize

Implementors§