pub trait BufResultExt {
    // Required method
    fn map_advanced(self) -> Self;
}
Expand description

Trait to update the buffer length inside the BufResult.

Required Methods§

source

fn map_advanced(self) -> Self

Call SetBufInit::set_buf_init if the result is Ok.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: SetBufInit> BufResultExt for BufResult<usize, T>

source§

fn map_advanced(self) -> Self

source§

impl<T: SetBufInit, O> BufResultExt for BufResult<(usize, O), T>

source§

fn map_advanced(self) -> Self

Implementors§