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.
Implementations§
Auto Trait Implementations§
impl<A, K> !RefUnwindSafe for Router<A, K>
impl<A, K> Send for Router<A, K>
impl<A, K> Sync for Router<A, K>
impl<A, K> Unpin for Router<A, K>
impl<A, K> !UnwindSafe for Router<A, K>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more