Closed STRRL closed 2 weeks ago
But I am still curious that, I see there is nowhere to close the uds connection / UnixStream
, does tokio/mio would close it automatically? But I also find that there is no where to implemented the Drop
trait for these structs.
But I am still curious that, I see there is nowhere to close the uds connection /
UnixStream
, does tokio/mio would close it automatically? But I also find that there is no where to implemented theDrop
trait for these structs.
Mio will close it automatically.
But I am still curious that, I see there is nowhere to close the uds connection /
UnixStream
, does tokio/mio would close it automatically? But I also find that there is no where to implemented theDrop
trait for these structs.Mio will close it automatically.
Any reference? ❤️
Any reference? ❤️
Everything base on unix fd all drop here. It is really hard to trace.
https://stdrs.dev/nightly/x86_64-unknown-linux-gnu/src/std/os/fd/owned.rs.html#167
Signed-off-by: STRRL im@strrl.dev
append some docs for UDS part