pub fn send_data(endpoint: MStr<Endpoint>, data: Data)
Sends data to an endpoint handler, transferring ownership.