Skip to main content

ProtocolPlugin

Trait ProtocolPlugin 

Source
pub trait ProtocolPlugin {
    // Required method
    fn build(&self, protocol: &mut Protocol);
}
Expand description

Extension point for registering channels, messages, and components into a Protocol.

Required Methods§

Source

fn build(&self, protocol: &mut Protocol)

Applies this plugin’s registrations to protocol.

Implementors§