Struct body_image_futio::FutioTuner[][src]

pub struct FutioTuner { /* fields omitted */ }
Expand description

A builder for FutioTunables.

Invariants are asserted in the various setters and finish.

Implementations

Construct with defaults.

Set the base body-image Tunables.

Set the maximum stream item buffer size in bytes, when using SplitBodyImage.

Set the maximum initial response timeout interval.

Unset (e.g. disable) response timeout

Set the maximum streaming body timeout interval.

Unset (e.g. disable) body timeout

Set policy for blocking. Note that below the highest level interfaces such as request_dialog and fetch, setting this should be combined with using the appropriate Stream or Sink types, e.g. using PermitBodyStream with BlockingPolicy::Permit.

Finish building, asserting any remaining invariants, and return a new FutioTunables instance.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more