Trait glommio::channels::channel_mesh::MeshAdapter [−][src]
pub trait MeshAdapter: Clone {
fn connect(&self, from: &Role, to: &Role) -> bool;
fn is_full(&self) -> bool;
}
Expand description
An adapter for MeshBuilder
Required methods
Determine whether a channel should be created between a pair of peers considering their roles.