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
Auto Trait Implementations
impl !RefUnwindSafe for FutioTuner
impl Send for FutioTuner
impl Sync for FutioTuner
impl Unpin for FutioTuner
impl !UnwindSafe for FutioTuner
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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