dope_sys/io/request/lower.rs
1/// Native requests whose input borrows are consumed during lowering.
2pub trait Lower: Sized {
3 type Target;
4 type Outbound;
5 type Domain;
6 type Datagram;
7
8 fn socket(slot: Self::Outbound, domain: Self::Domain) -> Self;
9 fn accept_multi(listener: Self::Target) -> Self;
10 fn recv<const GROUP: u16>(slot: Self::Target) -> Self;
11 fn recv_msg<const GROUP: u16>(datagram: Self::Datagram) -> Self;
12 fn shutdown(slot: Self::Target) -> Self;
13}