pub struct ClassifiedCmdWriteFactory<C: WorkerClassification, M: CmdTunnelMeta, R: ClassifiedCmdTunnelRead<C, M>, W: ClassifiedCmdTunnelWrite<C, M>, F: ClassifiedCmdTunnelFactory<C, M, R, W>, LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive, CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes> { /* private fields */ }Trait Implementations§
Source§impl<C: WorkerClassification, M: CmdTunnelMeta, R: ClassifiedCmdTunnelRead<C, M>, W: ClassifiedCmdTunnelWrite<C, M>, F: ClassifiedCmdTunnelFactory<C, M, R, W>, LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive + RawFixedBytes, CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + RawFixedBytes + Debug> ClassifiedWorkerFactory<CmdClientTunnelClassification<C>, ClassifiedCmdSend<C, M, R, W, LEN, CMD>> for ClassifiedCmdWriteFactory<C, M, R, W, F, LEN, CMD>
impl<C: WorkerClassification, M: CmdTunnelMeta, R: ClassifiedCmdTunnelRead<C, M>, W: ClassifiedCmdTunnelWrite<C, M>, F: ClassifiedCmdTunnelFactory<C, M, R, W>, LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive + RawFixedBytes, CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + RawFixedBytes + Debug> ClassifiedWorkerFactory<CmdClientTunnelClassification<C>, ClassifiedCmdSend<C, M, R, W, LEN, CMD>> for ClassifiedCmdWriteFactory<C, M, R, W, F, LEN, CMD>
fn create<'life0, 'async_trait>(
&'life0 self,
classification: Option<CmdClientTunnelClassification<C>>,
) -> Pin<Box<dyn Future<Output = PoolResult<ClassifiedCmdSend<C, M, R, W, LEN, CMD>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<C, M, R, W, F, LEN, CMD> !Freeze for ClassifiedCmdWriteFactory<C, M, R, W, F, LEN, CMD>
impl<C, M, R, W, F, LEN, CMD> !RefUnwindSafe for ClassifiedCmdWriteFactory<C, M, R, W, F, LEN, CMD>
impl<C, M, R, W, F, LEN, CMD> Send for ClassifiedCmdWriteFactory<C, M, R, W, F, LEN, CMD>
impl<C, M, R, W, F, LEN, CMD> Sync for ClassifiedCmdWriteFactory<C, M, R, W, F, LEN, CMD>
impl<C, M, R, W, F, LEN, CMD> Unpin for ClassifiedCmdWriteFactory<C, M, R, W, F, LEN, CMD>
impl<C, M, R, W, F, LEN, CMD> !UnwindSafe for ClassifiedCmdWriteFactory<C, M, R, W, F, LEN, CMD>
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