socket2::socket

Function into_linger

source
const fn into_linger(duration: Option<Duration>) -> linger