tokio/signal/windows/stub.rs
1//! Stub implementations for the platform API so that rustdoc can build linkable
2//! documentation on non-windows platforms.
3
4use crate::signal::RxFuture;
5use std::io;
6
7pub(super) fn ctrl_break() -> io::Result<RxFuture> {
8 panic!()
9}
10
11pub(super) fn ctrl_close() -> io::Result<RxFuture> {
12 panic!()
13}
14
15pub(super) fn ctrl_c() -> io::Result<RxFuture> {
16 panic!()
17}
18
19pub(super) fn ctrl_logoff() -> io::Result<RxFuture> {
20 panic!()
21}
22
23pub(super) fn ctrl_shutdown() -> io::Result<RxFuture> {
24 panic!()
25}