Trait tea_sdk::serde::layout::LayoutWrite
pub trait LayoutWrite: Sized {
type Write<'a>: Copy
where Self: 'a;
// Required methods
fn size(value: Self::Write<'_>) -> Result<usize, Global>;
fn write(value: Self::Write<'_>, buf: impl SerBuf) -> Result<(), Global>;
}
Required Associated Types§
Required Methods§
fn size(value: Self::Write<'_>) -> Result<usize, Global>
fn write(value: Self::Write<'_>, buf: impl SerBuf) -> Result<(), Global>
Object Safety§
This trait is not object safe.