aboutsummaryrefslogtreecommitdiff
path: root/src/signal/windows/stub.rs
blob: 88630543da928417e5fc17aada59c984ebff5f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! 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_c() -> io::Result<RxFuture> {
    panic!()
}

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