fn send(&mut self, data: Vec<u8>) -> Result<(), RPCError> {
        self.tx
            .send(data)
            .map_err(|_my_err| RPCError::TransportError)
    }
/// send data to a remote node
send data to a remote node
send data to a remote node
fn send(&mut self, data: Vec<u8>) -> Result<(), RPCError> {
        self.tx
            .send(data)
            .map_err(|_my_err| RPCError::TransportError)
    }
fn send ( & mut self , data : Vec < u8 > ) -> Result < ( ) , RPCError > { self . tx . send ( data ) . map_err ( | _my_err | RPCError :: TransportError ) }
send data to a remote node
send data to a remote node
&mut self
data
Vec<u8>
&mut self
data
Vec<u8>