dope-core 0.10.1

The manifold runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub(crate) mod raw;
pub mod snapshot;

use std::io;

use crate::io::file::RawMetadata;
use snapshot::Snapshot;

pub trait Platform {
    type Sqe;
    type Gso;
    type StatBuf;
    type TimerSpec;

    fn entropy() -> io::Result<[u64; 2]>;
    fn parse_meta(raw: &Self::StatBuf) -> io::Result<RawMetadata>;
    fn snapshot() -> io::Result<Snapshot>;
}