dope-core 0.24.0

Owned native I/O and completion driver for dope
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::io::fd::{domain, domain::resident, handles};

pub(super) fn get<'a>(
    domain: &'a domain::Domain,
    slot: handles::PhysicalSlot,
) -> resident::Lifecycle<'a> {
    domain.resident.lifecycle(slot)
}

pub(super) fn get_index(domain: &domain::Domain, index: domain::Index) -> resident::Lifecycle<'_> {
    domain.resident.mapped(index)
}