Searched refs:from_raw_socket (Results 1 – 8 of 8) sorted by relevance
52 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()60 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()84 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()92 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()132 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()140 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()164 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()172 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()212 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()220 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()[all …]
139 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()147 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()171 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()179 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()219 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()227 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()251 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()259 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()299 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()307 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()[all …]
52 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()60 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()84 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()92 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()
88 unsafe { Self::from_raw_socket(self.into_raw_socket()) } in into_socket()112 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()248 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()256 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()280 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()288 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()328 unsafe { OwnedSocket::from_raw_socket(self.into_raw_socket()) } in into_socket()336 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()360 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket()368 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from()[all …]
327 unsafe { Ok(OwnedSocket::from_raw_socket(socket as _)) } in try_clone_to_owned()351 let socket = OwnedSocket::from_raw_socket(socket as _); in try_clone_to_owned()665 unsafe fn from_raw_socket(socket: RawSocket) -> Self { in from_raw_socket() method
251 Self::from_raw_socket(raw) in from_raw_socketlike()
55 assert_eq!(OwnedSocket::from_raw_socket(min).into_raw_socket(), min); in test_niche_optimizations_socket()56 assert_eq!(OwnedSocket::from_raw_socket(max).into_raw_socket(), max); in test_niche_optimizations_socket()58 Some(OwnedSocket::from_raw_socket(min)) in test_niche_optimizations_socket()64 Some(OwnedSocket::from_raw_socket(max)) in test_niche_optimizations_socket()
61 Self::from_raw_socket(raw_fd) in from_raw_fd()