pub trait PluginDeclared:
Send
+ Sync
+ 'static {
const ID: &'static str;
const VERSION: &'static str;
const DESCRIPTION: &'static str;
const PROVIDES: &'static [Node<WireDeclaration>];
const REQUIRES: &'static [Node<Requirement>];
const STREAMS: &'static [Entry];
const CONTRIBUTIONS: &'static [Section] = _;
const LISTENERS: &'static [Node<Entry>] = _;
const OBSERVERS: &'static [Node<Entry>] = _;
// Required method
fn markers() -> Result<Vec<&'static [u8]>, Error>;
}Required Associated Constants§
const ID: &'static str
const VERSION: &'static str
const DESCRIPTION: &'static str
const PROVIDES: &'static [Node<WireDeclaration>]
const REQUIRES: &'static [Node<Requirement>]
const STREAMS: &'static [Entry]
Provided Associated Constants§
const CONTRIBUTIONS: &'static [Section] = _
const LISTENERS: &'static [Node<Entry>] = _
const OBSERVERS: &'static [Node<Entry>] = _
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".