dope-uring 0.77.0

Owned io_uring backend for dope
Documentation
use dope_sys::memory;
pub(crate) use payload::Payload;

use crate::reactor::buffers::{self, Pending};

mod payload;

#[derive(Debug)]
pub struct Canary<L: memory::raw::Canary> {
    pub(in crate::reactor) producer: buffers::raw::Producer<L>,
    pub(super) context: buffers::raw::Context<L>,
}

impl<L: memory::raw::Canary> From<Canary<L>> for Pending {
    fn from(canary: Canary<L>) -> Self {
        Self {
            current: canary.producer.into_region(),
            context: Some(canary.context.into_region()),
        }
    }
}