opcode::Accept::new wants a mutable types::SocketAddrOpaque.
https://docs.rs/rustix-uring/latest/rustix_uring/opcode/struct.Accept.html
I'm unsure how to prevision one however.
In Rustix there's this trait:
https://docs.rs/rustix/latest/rustix/net/addr/trait.SocketAddrArg.html#tymethod.with_sockaddr
but it provides a constant pointer, not a mutable one.
opcode::Accept::newwants a mutabletypes::SocketAddrOpaque.https://docs.rs/rustix-uring/latest/rustix_uring/opcode/struct.Accept.html
I'm unsure how to prevision one however.
In Rustix there's this trait:
https://docs.rs/rustix/latest/rustix/net/addr/trait.SocketAddrArg.html#tymethod.with_sockaddr
but it provides a constant pointer, not a mutable one.