Searched refs:CtrlBreak (Results 1 – 3 of 3) sorted by relevance
4 use tokio::signal::windows::{CtrlBreak, CtrlC};55 inner: CtrlBreak,60 pub fn new(interval: CtrlBreak) -> Self { in new()65 pub fn into_inner(self) -> CtrlBreak { in into_inner() argument78 impl AsRef<CtrlBreak> for CtrlBreakStream {79 fn as_ref(&self) -> &CtrlBreak { in as_ref() argument84 impl AsMut<CtrlBreak> for CtrlBreakStream {85 fn as_mut(&mut self) -> &mut CtrlBreak { in as_mut() argument
239 pub struct CtrlBreak { struct243 impl CtrlBreak { impl322 pub fn ctrl_break() -> io::Result<CtrlBreak> { in ctrl_break()323 Event::new(CTRL_BREAK_EVENT).map(|inner| CtrlBreak { inner }) in ctrl_break()
1110 - API docs for `signal::unix::Signal::{recv, poll_recv}` and `signal::windows::CtrlBreak::{recv, po…