oscall 0.0.1

Low-level cross-platform interface to operating system services: files, memory mapping, networking and more, with no libc on Linux
Documentation
//! `time` without a system: there is no clock.

use core::time::Duration;

use crate::time::{Clock, Timestamp};
use crate::{ErrorKind, Result};

pub(crate) fn now() -> Result<Timestamp> {
    Err(ErrorKind::Unsupported.into())
}

pub(crate) fn clock(_clock: Clock) -> Result<Duration> {
    Err(ErrorKind::Unsupported.into())
}

pub(crate) fn resolution(_clock: Clock) -> Result<Duration> {
    Err(ErrorKind::Unsupported.into())
}

pub(crate) fn sleep(_duration: Duration) -> Result<()> {
    Err(ErrorKind::Unsupported.into())
}

pub(crate) fn sleep_until(_deadline: Duration) -> Result<()> {
    Err(ErrorKind::Unsupported.into())
}