Expand description
LDP plugin registration.
Provides registration for the LDP adapter with a ProtocolRegistry.
§Standalone Usage
ⓘ
use ldp_protocol::plugin::register_ldp;
use ldp_protocol::protocol::ProtocolRegistry;
let mut registry = ProtocolRegistry::new();
register_ldp(&mut registry, None);§JamJet Usage (with jamjet feature)
ⓘ
use ldp_protocol::plugin::register_ldp_jamjet;
use jamjet_protocols::ProtocolRegistry;
let mut registry = ProtocolRegistry::new();
register_ldp_jamjet(&mut registry, None);Functions§
- create_
adapter - Create a standalone LDP adapter instance.
- register_
ldp - Register the LDP adapter with a
ProtocolRegistry.