[][src]Struct tokio_net::signal::windows::CtrlBreak

#[must_use = "streams do nothing unless polled"]
pub struct CtrlBreak { /* fields omitted */ }

Represents a stream which receives "ctrl-break" notifications sent to the process via SetConsoleCtrlHandler.

A notification to this process notifies all streams listening to this event. Moreover, the notifications are coalesced if they aren't processed quickly enough. This means that if two notifications are received back-to-back, then the stream may only receive one item about the two notifications.

Trait Implementations

impl Debug for CtrlBreak[src]

impl Stream for CtrlBreak[src]

type Item = ()

Values yielded by the stream.

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[src]