Skip to main content

Pluggable

Trait Pluggable 

Source
pub trait Pluggable: Attributed {
    // Required methods
    fn plugs(&self) -> &[Plug];
    fn sockets(&self) -> &[Socket];
}
Expand description

Read interface for elements — adds plugs and sockets on top of Attributed. Only elements implement Pluggable at this layer (SRD-0005 D11).

Required Methods§

Source

fn plugs(&self) -> &[Plug]

The element’s plugs.

Source

fn sockets(&self) -> &[Socket]

The element’s sockets.

Implementors§