Sha256: 42834cf8148abd02021115a61d57b23bb323dd8ad0d1b9a91d17fb8f7defab01

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

use super::super::c;
use bitflags::bitflags;

bitflags! {
    /// `MSG_*`
    pub struct SendFlags: u32 {
        /// `MSG_CONFIRM`
        const CONFIRM = c::MSG_CONFIRM;
        /// `MSG_DONTROUTE`
        const DONTROUTE = c::MSG_DONTROUTE;
        /// `MSG_DONTWAIT`
        const DONTWAIT = c::MSG_DONTWAIT;
        /// `MSG_EOT`
        const EOT = c::MSG_EOR;
        /// `MSG_MORE`
        const MORE = c::MSG_MORE;
        /// `MSG_NOSIGNAL`
        const NOSIGNAL = c::MSG_NOSIGNAL;
        /// `MSG_OOB`
        const OOB = c::MSG_OOB;
    }
}

bitflags! {
    /// `MSG_*`
    pub struct RecvFlags: u32 {
        /// `MSG_CMSG_CLOEXEC`
        const CMSG_CLOEXEC = c::MSG_CMSG_CLOEXEC;
        /// `MSG_DONTWAIT`
        const DONTWAIT = c::MSG_DONTWAIT;
        /// `MSG_ERRQUEUE`
        const ERRQUEUE = c::MSG_ERRQUEUE;
        /// `MSG_OOB`
        const OOB = c::MSG_OOB;
        /// `MSG_PEEK`
        const PEEK = c::MSG_PEEK;
        /// `MSG_TRUNC`
        const TRUNC = c::MSG_TRUNC;
        /// `MSG_WAITALL`
        const WAITALL = c::MSG_WAITALL;
    }
}

Version data entries

8 entries across 7 versions & 1 rubygems

Version Path
wasmtime-8.0.0 ./ext/cargo-vendor/rustix-0.36.12/src/backend/linux_raw/net/send_recv.rs
wasmtime-7.0.0 ./ext/cargo-vendor/rustix-0.36.11/src/backend/linux_raw/net/send_recv.rs
wasmtime-7.0.0 ./ext/cargo-vendor/rustix-0.37.5/src/backend/linux_raw/net/send_recv.rs
wasmtime-6.0.1 ./ext/cargo-vendor/rustix-0.36.8/src/backend/linux_raw/net/send_recv.rs
wasmtime-6.0.0 ./ext/cargo-vendor/rustix-0.36.8/src/backend/linux_raw/net/send_recv.rs
wasmtime-5.0.0 ./ext/cargo-vendor/rustix-0.36.7/src/backend/linux_raw/net/send_recv.rs
wasmtime-0.4.1 ./ext/cargo-vendor/rustix-0.36.5/src/backend/linux_raw/net/send_recv.rs
wasmtime-0.4.0 ./ext/cargo-vendor/rustix-0.36.5/src/backend/linux_raw/net/send_recv.rs