1 //! Stub implementations for the platform API so that rustdoc can build linkable 2 //! documentation on non-windows platforms. 3 4 use crate::signal::RxFuture; 5 use std::io; 6 ctrl_c() -> io::Result<RxFuture>7pub(super) fn ctrl_c() -> io::Result<RxFuture> { 8 panic!() 9 } 10 ctrl_break() -> io::Result<RxFuture>11pub(super) fn ctrl_break() -> io::Result<RxFuture> { 12 panic!() 13 } 14