Struct smoltcp::storage::Assembler [] [src]

pub struct Assembler { /* fields omitted */ }

A buffer (re)assembler.

Currently, up to a hardcoded limit of four holes can be tracked in the buffer.

Methods

impl Assembler
[src]

[src]

Create a new buffer assembler for buffers of the given size.

[src]

Return whether the assembler contains no data.

[src]

Add a new contiguous range to the assembler, and return Ok(()), or return Err(()) if too many discontiguities are already recorded.

[src]

Remove a contiguous range from the front of the assembler and Some(data_size), or return None if there is no such range.

Trait Implementations

impl Debug for Assembler
[src]

[src]

Formats the value using the given formatter.

impl Display for Assembler
[src]

[src]

Formats the value using the given formatter. Read more