From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/rustix/src/backend/libc/net/send_recv.rs | 103 ------------------------ 1 file changed, 103 deletions(-) delete mode 100644 vendor/rustix/src/backend/libc/net/send_recv.rs (limited to 'vendor/rustix/src/backend/libc/net/send_recv.rs') diff --git a/vendor/rustix/src/backend/libc/net/send_recv.rs b/vendor/rustix/src/backend/libc/net/send_recv.rs deleted file mode 100644 index 5dc60dd..0000000 --- a/vendor/rustix/src/backend/libc/net/send_recv.rs +++ /dev/null @@ -1,103 +0,0 @@ -use crate::backend::c; -use bitflags::bitflags; - -bitflags! { - /// `MSG_*` flags for use with [`send`], [`send_to`], and related - /// functions. - /// - /// [`send`]: crate::net::send - /// [`sendto`]: crate::net::sendto - #[repr(transparent)] - #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)] - pub struct SendFlags: u32 { - /// `MSG_CONFIRM` - #[cfg(not(any( - bsd, - solarish, - windows, - target_os = "aix", - target_os = "espidf", - target_os = "nto", - target_os = "haiku", - target_os = "vita", - )))] - const CONFIRM = bitcast!(c::MSG_CONFIRM); - /// `MSG_DONTROUTE` - const DONTROUTE = bitcast!(c::MSG_DONTROUTE); - /// `MSG_DONTWAIT` - #[cfg(not(windows))] - const DONTWAIT = bitcast!(c::MSG_DONTWAIT); - /// `MSG_EOR` - #[cfg(not(windows))] - const EOT = bitcast!(c::MSG_EOR); - /// `MSG_MORE` - #[cfg(not(any( - bsd, - solarish, - windows, - target_os = "aix", - target_os = "haiku", - target_os = "nto", - target_os = "vita", - )))] - const MORE = bitcast!(c::MSG_MORE); - #[cfg(not(any(apple, windows, target_os = "vita")))] - /// `MSG_NOSIGNAL` - const NOSIGNAL = bitcast!(c::MSG_NOSIGNAL); - /// `MSG_OOB` - const OOB = bitcast!(c::MSG_OOB); - - /// - const _ = !0; - } -} - -bitflags! { - /// `MSG_*` flags for use with [`recv`], [`recvfrom`], and related - /// functions. - /// - /// [`recv`]: crate::net::recv - /// [`recvfrom`]: crate::net::recvfrom - #[repr(transparent)] - #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)] - pub struct RecvFlags: u32 { - #[cfg(not(any( - apple, - solarish, - windows, - target_os = "aix", - target_os = "espidf", - target_os = "haiku", - target_os = "nto", - target_os = "vita", - )))] - /// `MSG_CMSG_CLOEXEC` - const CMSG_CLOEXEC = bitcast!(c::MSG_CMSG_CLOEXEC); - /// `MSG_DONTWAIT` - #[cfg(not(windows))] - const DONTWAIT = bitcast!(c::MSG_DONTWAIT); - /// `MSG_ERRQUEUE` - #[cfg(not(any( - bsd, - solarish, - windows, - target_os = "aix", - target_os = "espidf", - target_os = "haiku", - target_os = "nto", - target_os = "vita", - )))] - const ERRQUEUE = bitcast!(c::MSG_ERRQUEUE); - /// `MSG_OOB` - const OOB = bitcast!(c::MSG_OOB); - /// `MSG_PEEK` - const PEEK = bitcast!(c::MSG_PEEK); - /// `MSG_TRUNC` - const TRUNC = bitcast!(c::MSG_TRUNC); - /// `MSG_WAITALL` - const WAITALL = bitcast!(c::MSG_WAITALL); - - /// - const _ = !0; - } -} -- cgit v1.2.3