Trait tea_codec::serde::layout::LayoutWrite
source · pub trait LayoutWrite: Sized {
type Write<'a>: Copy
where Self: 'a;
// Required methods
fn size(value: Self::Write<'_>) -> Result<usize>;
fn write(value: Self::Write<'_>, buf: impl SerBuf) -> Result<()>;
}