[][src]Function uapi::sockaddr_none_ref

pub fn sockaddr_none_ref<'a>() -> Option<&'a sockaddr>

Returns Option::<&c::sockaddr>::None

This is useful for functions or structures which are generic over the sockaddr type and whose type cannot be inferred if None is used on its own.