pub struct ChunkedProducer { /* private fields */ }Expand description
Segments a large payload into fixed-size chunks for NDN-style chunked transfer.
Each segment is identified by its zero-based index; the total segment count
is available via segment_count() for FinalBlockId encoding.
Implementations§
Auto Trait Implementations§
impl !Freeze for ChunkedProducer
impl RefUnwindSafe for ChunkedProducer
impl Send for ChunkedProducer
impl Sync for ChunkedProducer
impl Unpin for ChunkedProducer
impl UnwindSafe for ChunkedProducer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more