Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

cancellation_type

Enumeration representing the different types of cancellation that may be requested from or implemented by an asynchronous operation.

enum class cancellation_type : unsigned int

Values

none

Bitmask representing no types of cancellation.

terminal

Requests cancellation where, following a successful cancellation, the only safe operations on the I/O object are closure or destruction.

partial

Requests cancellation where a successful cancellation may result in partial side effects or no side effects. Following cancellation, the I/O object is in a well-known state, and may be used for further operations.

total

Requests cancellation where a successful cancellation results in no apparent side effects. Following cancellation, the I/O object is in the same observable state as it was prior to the operation.

all

Bitmask representing all types of cancellation.

Requirements

Header: boost/asio/cancellation_type.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext