Skip to main content

dope_uring/reactor/sq/
source.rs

1use dope_sys::io::request::{Context, Source};
2
3use crate::{Backend, reactor::sq};
4
5impl<C: Context> Source<C> for Backend {
6    type Target = sq::Fixed;
7
8    fn target(slot: C::Target) -> sq::Fixed {
9        sq::Fixed::new(slot.into())
10    }
11}