Struct MessageTruncator::Settings

Nested Relationships

This struct is a nested type of Class MessageTruncator.

Struct Documentation

struct Settings

The limits imposed by the network, which no message can exceed.

Meant to be filled with designated initializers, so that the two limits cannot be mixed up: MessageTruncator{{.max_msg_by_net = 4096, .max_iov_len = 32}}

Public Members

size_t max_msg_by_net = {}

largest message netio can carry, cannot be exceeded

uint32_t max_iov_len = {}

maximum number of I/O vector entries. 0 means no limit