pub struct CtrlCHandler { /* private fields */ }

Implementations

Tries to receive a response from the receiver channel. Returns the result.

Makes it so should_continue returns false.

Checks if CTRL-C has beed pushed. Returns true if it hasn’t.

Gets the channel sender so it can be used outside of the module.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.