Struct sink_splitter::Controller [] [src]

pub struct Controller<K: Eq + Hash, S> { /* fields omitted */ }

This struct is used to manipulate the collection of output sinks.

Methods

impl<K, V, E, S> Controller<K, S> where
    K: Eq + Hash,
    S: Sink<SinkItem = V, SinkError = E>,
    E: Debug
[src]

[src]

Insert an output sink into this Splitter. The output sink will receive all items with this key.

This method panics if you try to insert a Sink for a key that already has one.

Trait Implementations

impl<K: Debug + Eq + Hash, S: Debug> Debug for Controller<K, S>
[src]

[src]

Formats the value using the given formatter.