pub trait BufResultExt {
// Required method
fn map_advanced(self) -> Self;
}
Expand description
Trait to update the buffer length inside the BufResult
.
Required Methods§
Sourcefn map_advanced(self) -> Self
fn map_advanced(self) -> Self
Call SetBufInit::set_buf_init
if the result is Ok
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.