pub struct CommonCmdSend<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, LEN, CMD>where
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 */ }Implementations§
Source§impl<M, R, W, LEN, CMD> CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
impl<M, R, W, LEN, CMD> CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
pub fn new( tunnel_id: TunnelId, recv_handle: JoinHandle<CmdResult<()>>, write: ObjectHolder<WHalf<R, W>>, resp_waiter: Arc<CallbackWaiter<u64, CmdBody>>, remote_id: PeerId, tunnel_meta: Option<Arc<M>>, ) -> Self
pub fn get_tunnel_id(&self) -> TunnelId
pub fn set_disable(&mut self)
pub async fn send( &mut self, cmd: CMD, version: u8, body: &[u8], ) -> CmdResult<()>
pub async fn send_with_resp( &mut self, cmd: CMD, version: u8, body: &[u8], timeout: Duration, ) -> CmdResult<CmdBody>
pub async fn send2( &mut self, cmd: CMD, version: u8, body: &[&[u8]], ) -> CmdResult<()>
pub async fn send2_with_resp( &mut self, cmd: CMD, version: u8, body: &[&[u8]], timeout: Duration, ) -> CmdResult<CmdBody>
pub async fn send_cmd( &mut self, cmd: CMD, version: u8, body: CmdBody, ) -> CmdResult<()>
pub async fn send_cmd_with_resp( &mut self, cmd: CMD, version: u8, body: CmdBody, timeout: Duration, ) -> CmdResult<CmdBody>
Trait Implementations§
Source§impl<M, R, W, LEN, CMD> ClassifiedWorker<(PeerId, Option<TunnelId>)> for CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
impl<M, R, W, LEN, CMD> ClassifiedWorker<(PeerId, Option<TunnelId>)> for CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
Source§impl<M, R, W, LEN, CMD> ClassifiedWorker<TunnelId> for CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
impl<M, R, W, LEN, CMD> ClassifiedWorker<TunnelId> for CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
Source§impl<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, F: CmdNodeTunnelFactory<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, LISTENER: CmdTunnelListener<M, R, W>> ClassifiedWorkerFactory<(PeerId, Option<TunnelId>), CommonCmdSend<M, R, W, LEN, CMD>> for CmdNodeWriteFactory<M, R, W, F, LEN, CMD, LISTENER>
impl<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, F: CmdNodeTunnelFactory<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, LISTENER: CmdTunnelListener<M, R, W>> ClassifiedWorkerFactory<(PeerId, Option<TunnelId>), CommonCmdSend<M, R, W, LEN, CMD>> for CmdNodeWriteFactory<M, R, W, F, LEN, CMD, LISTENER>
Source§impl<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, F: CmdTunnelFactory<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<TunnelId, CommonCmdSend<M, R, W, LEN, CMD>> for CmdWriteFactory<M, R, W, F, LEN, CMD>
impl<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, F: CmdTunnelFactory<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<TunnelId, CommonCmdSend<M, R, W, LEN, CMD>> for CmdWriteFactory<M, R, W, F, LEN, CMD>
Source§impl<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, F: CmdTunnelFactory<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 + Eq + Hash + Debug> CmdClient<LEN, CMD, M, CommonCmdSend<M, R, W, LEN, CMD>, ClassifiedSendGuard<TunnelId, M, CommonCmdSend<M, R, W, LEN, CMD>, CmdWriteFactory<M, R, W, F, LEN, CMD>>> for DefaultCmdClient<M, R, W, F, LEN, CMD>
impl<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, F: CmdTunnelFactory<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 + Eq + Hash + Debug> CmdClient<LEN, CMD, M, CommonCmdSend<M, R, W, LEN, CMD>, ClassifiedSendGuard<TunnelId, M, CommonCmdSend<M, R, W, LEN, CMD>, CmdWriteFactory<M, R, W, F, LEN, CMD>>> for DefaultCmdClient<M, R, W, F, LEN, CMD>
fn register_cmd_handler(&self, cmd: CMD, handler: impl CmdHandler<LEN, CMD>)
fn send<'life0, 'life1, 'async_trait>(
&'life0 self,
cmd: CMD,
version: u8,
body: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send_with_resp<'life0, 'life1, 'async_trait>(
&'life0 self,
cmd: CMD,
version: u8,
body: &'life1 [u8],
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send2<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
cmd: CMD,
version: u8,
body: &'life1 [&'life2 [u8]],
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send2_with_resp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
cmd: CMD,
version: u8,
body: &'life1 [&'life2 [u8]],
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send_cmd<'life0, 'async_trait>(
&'life0 self,
cmd: CMD,
version: u8,
body: CmdBody,
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_cmd_with_resp<'life0, 'async_trait>(
&'life0 self,
cmd: CMD,
version: u8,
body: CmdBody,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_by_specify_tunnel<'life0, 'life1, 'async_trait>(
&'life0 self,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send_by_specify_tunnel_with_resp<'life0, 'life1, 'async_trait>(
&'life0 self,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: &'life1 [u8],
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send2_by_specify_tunnel<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: &'life1 [&'life2 [u8]],
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send2_by_specify_tunnel_with_resp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: &'life1 [&'life2 [u8]],
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send_cmd_by_specify_tunnel<'life0, 'async_trait>(
&'life0 self,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: CmdBody,
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_cmd_by_specify_tunnel_with_resp<'life0, 'async_trait>(
&'life0 self,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: CmdBody,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn clear_all_tunnel<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_send<'life0, 'async_trait>(
&'life0 self,
tunnel_id: TunnelId,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdClientSendGuard<M, R, W, F, LEN, CMD>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, F: CmdNodeTunnelFactory<M, R, W>, LEN: RawEncode + for<'a> RawDecode<'a> + Copy + RawFixedBytes + Sync + Send + 'static + FromPrimitive + ToPrimitive, CMD: RawEncode + for<'a> RawDecode<'a> + Copy + RawFixedBytes + Sync + Send + 'static + Eq + Hash + Debug, LISTENER: CmdTunnelListener<M, R, W>> CmdNode<LEN, CMD, M, CommonCmdSend<M, R, W, LEN, CMD>, ClassifiedSendGuard<(PeerId, Option<TunnelId>), M, CommonCmdSend<M, R, W, LEN, CMD>, CmdNodeWriteFactory<M, R, W, F, LEN, CMD, LISTENER>>> for DefaultCmdNode<M, R, W, F, LEN, CMD, LISTENER>
impl<M: CmdTunnelMeta, R: CmdTunnelRead<M>, W: CmdTunnelWrite<M>, F: CmdNodeTunnelFactory<M, R, W>, LEN: RawEncode + for<'a> RawDecode<'a> + Copy + RawFixedBytes + Sync + Send + 'static + FromPrimitive + ToPrimitive, CMD: RawEncode + for<'a> RawDecode<'a> + Copy + RawFixedBytes + Sync + Send + 'static + Eq + Hash + Debug, LISTENER: CmdTunnelListener<M, R, W>> CmdNode<LEN, CMD, M, CommonCmdSend<M, R, W, LEN, CMD>, ClassifiedSendGuard<(PeerId, Option<TunnelId>), M, CommonCmdSend<M, R, W, LEN, CMD>, CmdNodeWriteFactory<M, R, W, F, LEN, CMD, LISTENER>>> for DefaultCmdNode<M, R, W, F, LEN, CMD, LISTENER>
fn register_cmd_handler(&self, cmd: CMD, handler: impl CmdHandler<LEN, CMD>)
fn send<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
cmd: CMD,
version: u8,
body: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send_with_resp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
cmd: CMD,
version: u8,
body: &'life2 [u8],
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send2<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
cmd: CMD,
version: u8,
body: &'life2 [&'life3 [u8]],
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn send2_with_resp<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
cmd: CMD,
version: u8,
body: &'life2 [&'life3 [u8]],
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn send_cmd<'life0, 'life1, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
cmd: CMD,
version: u8,
body: CmdBody,
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send_cmd_with_resp<'life0, 'life1, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
cmd: CMD,
version: u8,
body: CmdBody,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send_by_specify_tunnel<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send_by_specify_tunnel_with_resp<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: &'life2 [u8],
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send2_by_specify_tunnel<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: &'life2 [&'life3 [u8]],
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn send2_by_specify_tunnel_with_resp<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: &'life2 [&'life3 [u8]],
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn send_cmd_by_specify_tunnel<'life0, 'life1, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: CmdBody,
) -> Pin<Box<dyn Future<Output = CmdResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn send_cmd_by_specify_tunnel_with_resp<'life0, 'life1, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
tunnel_id: TunnelId,
cmd: CMD,
version: u8,
body: CmdBody,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdBody>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn clear_all_tunnel<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_send<'life0, 'life1, 'async_trait>(
&'life0 self,
peer_id: &'life1 PeerId,
tunnel_id: TunnelId,
) -> Pin<Box<dyn Future<Output = CmdResult<CmdNodeSendGuard<M, R, W, F, LEN, CMD, LISTENER>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl<M, R, W, LEN, CMD> CmdSend<M> for CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
impl<M, R, W, LEN, CMD> CmdSend<M> for CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
fn get_tunnel_meta(&self) -> Option<Arc<M>>
fn get_remote_peer_id(&self) -> PeerId
Source§impl<M, R, W, LEN, CMD> Drop for CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
impl<M, R, W, LEN, CMD> Drop for CommonCmdSend<M, R, W, LEN, CMD>where
M: CmdTunnelMeta,
R: CmdTunnelRead<M>,
W: CmdTunnelWrite<M>,
LEN: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + FromPrimitive + ToPrimitive,
CMD: RawEncode + for<'a> RawDecode<'a> + Copy + Send + Sync + 'static + Debug + RawFixedBytes,
Auto Trait Implementations§
impl<M, R, W, LEN, CMD> Freeze for CommonCmdSend<M, R, W, LEN, CMD>
impl<M, R, W, LEN, CMD> RefUnwindSafe for CommonCmdSend<M, R, W, LEN, CMD>
impl<M, R, W, LEN, CMD> Send for CommonCmdSend<M, R, W, LEN, CMD>
impl<M, R, W, LEN, CMD> Sync for CommonCmdSend<M, R, W, LEN, CMD>
impl<M, R, W, LEN, CMD> Unpin for CommonCmdSend<M, R, W, LEN, CMD>
impl<M, R, W, LEN, CMD> UnwindSafe for CommonCmdSend<M, R, W, 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