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_break() -> io::Result<RxFuture>7pub(super) fn ctrl_break() -> io::Result<RxFuture> { 8 panic!() 9 } 10 ctrl_close() -> io::Result<RxFuture>11pub(super) fn ctrl_close() -> io::Result<RxFuture> { 12 panic!() 13 } 14 ctrl_c() -> io::Result<RxFuture>15pub(super) fn ctrl_c() -> io::Result<RxFuture> { 16 panic!() 17 } 18 ctrl_logoff() -> io::Result<RxFuture>19pub(super) fn ctrl_logoff() -> io::Result<RxFuture> { 20 panic!() 21 } 22 ctrl_shutdown() -> io::Result<RxFuture>23pub(super) fn ctrl_shutdown() -> io::Result<RxFuture> { 24 panic!() 25 } 26