pub struct AdminOptions { /* private fields */ }
Expand description

Options for an admin API request.

Implementations

Creates a new AdminOptions.

Sets the overall request timeout, including broker lookup, request transmission, operation time on broker, and response.

Defaults to the socket.timeout.ms configuration parameter.

Sets the broker’s operation timeout, such as the timeout for CreateTopics to complete the creation of topics on the controller before returning a result to the application.

If unset (the default), the API calls will return immediately after triggering the operation.

Only the CreateTopics, DeleteTopics, and CreatePartitions API calls respect this option.

Tells the broker to only validate the request, without performing the requested operation.

Defaults to false.

Override what broker the admin request will be sent to.

By default, a reasonable broker will be selected automatically. See the librdkafka docs on rd_kafka_AdminOptions_set_broker for details.

Trait Implementations

Returns the “default value” for a type. 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.