garage44.eu/jeroen/pinnacle

logclone: git clone https://garage44.eu/jeroen/pinnacle.git

.. /ports/tokio-1.53.1/src/signal/windows/stub.rs

raw

//! Stub implementations for the platform API so that rustdoc can build linkable
//! documentation on non-windows platforms.

use crate::signal::RxFuture;
use std::io;

pub(super) fn ctrl_break() -> io::Result<RxFuture> {
    panic!()
}

pub(super) fn ctrl_close() -> io::Result<RxFuture> {
    panic!()
}

pub(super) fn ctrl_c() -> io::Result<RxFuture> {
    panic!()
}

pub(super) fn ctrl_logoff() -> io::Result<RxFuture> {
    panic!()
}

pub(super) fn ctrl_shutdown() -> io::Result<RxFuture> {
    panic!()
}