Struct tower_web::util::buf_stream::size_hint::Builder [−][src]
pub struct Builder { /* fields omitted */ }Build a SizeHint
Methods
impl Builder[src]
impl Builderpub fn new() -> Builder[src]
pub fn new() -> BuilderCreate a new Builder configured with default values.
ⓘImportant traits for &'a mut Wpub fn available(&mut self, val: usize) -> &mut Self[src]
ⓘImportant traits for &'a mut W
pub fn available(&mut self, val: usize) -> &mut SelfSets the available hint value.
ⓘImportant traits for &'a mut Wpub fn lower(&mut self, val: usize) -> &mut Self[src]
ⓘImportant traits for &'a mut W
pub fn lower(&mut self, val: usize) -> &mut SelfⓘImportant traits for &'a mut Wpub fn upper(&mut self, val: usize) -> &mut Self[src]
ⓘImportant traits for &'a mut W
pub fn upper(&mut self, val: usize) -> &mut Selfpub fn build(&self) -> SizeHint[src]
pub fn build(&self) -> SizeHintBuild the SizeHint