Skip to main content

dope_sys/io/socket/option/tuning/
create.rs

1use std::num;
2
3use o3::alloc;
4
5/// Allocates the actual address-stable option owner before kernel registration.
6pub trait Create: Sized {
7    fn try_new(capacity: num::NonZero<u32>) -> Result<Self, alloc::Error>;
8}