1 2 3 4 5 6 7 8 9 10 11 12 13
//! Socket maps. mod sock_hash; mod sock_map; use std::os::unix::io::RawFd; use crate::maps::MapError; pub use sock_hash::SockHash; pub use sock_map::SockMap; pub trait SocketMap { fn fd_or_err(&self) -> Result<RawFd, MapError>; }