Struct sodium_rust::Router
source · pub struct Router<A, K> { /* private fields */ }
Expand description
Create a new Router that routes event items of type A
to zero or
more Stream
s of type K
according to a given selector
function.
pub struct Router<A, K> { /* private fields */ }
Create a new Router that routes event items of type A
to zero or
more Stream
s of type K
according to a given selector
function.