Skip to main content

WireSpec

Trait WireSpec 

Source
pub trait WireSpec {
    // Required method
    fn apply(self, builder: &mut GraphBuilder) -> StreamResult<()>;
}
Expand description

A graph wiring specification accepted by GraphBuilder::wire and GraphBuilder::try_wire.

Required Methods§

Source

fn apply(self, builder: &mut GraphBuilder) -> StreamResult<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Out, In> WireSpec for WirePair<Out, In>
where Out: WireOutletEndpoint, In: WireInletEndpoint,