Struct tower_web::util::buf_stream::size_hint::Builder[][src]

pub struct Builder { /* fields omitted */ }

Build a SizeHint

Methods

impl Builder
[src]

Create a new Builder configured with default values.

Important traits for &'a mut W

Sets the available hint value.

Important traits for &'a mut W

Sets the lower hint value.

Panics

This function panics if val is smaller than available.

Important traits for &'a mut W

Set the upper hint value.

Panics

This function panics if val is smaller than lower.

Build the SizeHint

Trait Implementations

impl Debug for Builder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder