dope-sys 0.31.0

Typed operating-system call contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use o3::{base::num::bounded, buffer::bytes::bounded::MAX};

use crate::io::socket::gso::Mode;

/// Native segmentation ownership and statically bounded payload limits.
pub trait Source {
    type Mode: Mode;

    const LIMITS: Option<(
        bounded::U32<1, { MAX as u32 }>,
        bounded::U32<2, { u16::MAX as u32 }>,
    )>;
}