Skip to main content

dope_sys/io/request/
context.rs

1/// Typed inputs whose authority is preserved during native request lowering.
2pub trait Context {
3    type Target: Copy + Into<[u8; 3]>;
4    type Outbound: Copy + Into<[u8; 3]>;
5    type Datagram<'d>;
6
7    fn datagram<'d>(fd: &Self::Datagram<'d>) -> Self::Target;
8}