pub enum RouterSource {
Spsc,
Mpsc,
}Expand description
Selects which producer queue the router drains from.
Variants§
Spsc
Route from the single-producer producer queue.
Mpsc
Route from the multi-producer producer queue.
Trait Implementations§
Source§impl Clone for RouterSource
impl Clone for RouterSource
Source§fn clone(&self) -> RouterSource
fn clone(&self) -> RouterSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RouterSource
impl Debug for RouterSource
Source§impl PartialEq for RouterSource
impl PartialEq for RouterSource
impl Copy for RouterSource
impl Eq for RouterSource
impl StructuralPartialEq for RouterSource
Auto Trait Implementations§
impl Freeze for RouterSource
impl RefUnwindSafe for RouterSource
impl Send for RouterSource
impl Sync for RouterSource
impl Unpin for RouterSource
impl UnwindSafe for RouterSource
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