usecrate::err::SocketErr;/// tcp client callback
pubtraitTcpClientCallBack{/// connection success call this
async fnconn(&self);/// connection lost call this
async fndis_conn(&self);/// recv tcp client data call this
async fnrecv(&self, buf:&[u8]);/// socket err will call this<br />
/// only error notification will be made, no blocking and exit will be made<br />
/// please do not use endless loops in this method
async fnerr(&self, err: SocketErr);}