pub trait Socket { // Required methods fn handle(&self) -> i32; fn release(&mut self) -> Result<(), EspError>; }
Returns the integer FD.
This is called before cleaning up the the tls context and is responsible for essentially giving up ownership of the socket such that it can safely be closed by the ESP IDF.