Trait Kernel

Source
pub trait Kernel {
    // Required methods
    fn sleep<'a>(duration: Duration) -> BoxFuture<'a, ()>;
    fn page_size() -> usize;
}

Required Methods§

Source

fn sleep<'a>(duration: Duration) -> BoxFuture<'a, ()>

Source

fn page_size() -> usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§