pub enum MiningRoutingLogic<Down: IsMiningDownstream + D, Up: IsMiningUpstream<Down, Sel> + D, Sel: DownstreamMiningSelector<Down> + D, Router: 'static + MiningRouter<Down, Up, Sel>> {
Proxy(&'static Mutex<Router>),
None,
_P(PhantomData<(Down, Up, Sel)>),
}
Expand description
Enum that contains the possibles routing logic is usually contructed before calling handle_message_..()
Variants§
Trait Implementations§
source§impl<Down: IsMiningDownstream + D, Up: IsMiningUpstream<Down, Sel> + D, Sel: DownstreamMiningSelector<Down> + D, Router: MiningRouter<Down, Up, Sel>> Clone for MiningRoutingLogic<Down, Up, Sel, Router>
impl<Down: IsMiningDownstream + D, Up: IsMiningUpstream<Down, Sel> + D, Sel: DownstreamMiningSelector<Down> + D, Router: MiningRouter<Down, Up, Sel>> Clone for MiningRoutingLogic<Down, Up, Sel, Router>
source§impl<Down: Debug + IsMiningDownstream + D, Up: Debug + IsMiningUpstream<Down, Sel> + D, Sel: Debug + DownstreamMiningSelector<Down> + D, Router: Debug + 'static + MiningRouter<Down, Up, Sel>> Debug for MiningRoutingLogic<Down, Up, Sel, Router>
impl<Down: Debug + IsMiningDownstream + D, Up: Debug + IsMiningUpstream<Down, Sel> + D, Sel: Debug + DownstreamMiningSelector<Down> + D, Router: Debug + 'static + MiningRouter<Down, Up, Sel>> Debug for MiningRoutingLogic<Down, Up, Sel, Router>
Auto Trait Implementations§
impl<Down, Up, Sel, Router> Freeze for MiningRoutingLogic<Down, Up, Sel, Router>
impl<Down, Up, Sel, Router> RefUnwindSafe for MiningRoutingLogic<Down, Up, Sel, Router>
impl<Down, Up, Sel, Router> Send for MiningRoutingLogic<Down, Up, Sel, Router>
impl<Down, Up, Sel, Router> Sync for MiningRoutingLogic<Down, Up, Sel, Router>
impl<Down, Up, Sel, Router> Unpin for MiningRoutingLogic<Down, Up, Sel, Router>
impl<Down, Up, Sel, Router> UnwindSafe for MiningRoutingLogic<Down, Up, Sel, Router>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)