fn new()
in
vsock_sample/rs/src/lib.rs [28:30]
3
lines of code
1
McCabe index (conditional complexity)
fn new(socket_fd: RawFd) -> Self { VsockSocket { socket_fd } }