memkit 0.1.0-beta.1

Deterministic, intent-driven memory allocation for systems requiring predictable performance
Documentation
//! Memory transfer handles.

/// A handle for tracking memory transfers.
pub struct MkTransferHandle {
    id: u64,
}

impl MkTransferHandle {
    /// Create a new transfer handle.
    pub(crate) fn new(id: u64) -> Self {
        Self { id }
    }

    /// Get the transfer ID.
    pub fn id(&self) -> u64 {
        self.id
    }

    /// Check if the transfer is complete.
    pub fn is_complete(&self) -> bool {
        // TODO: Implement
        true
    }

    /// Wait for the transfer to complete.
    pub fn wait(&self) {
        // TODO: Implement
    }
}