pub trait ParselyWrite: StateSync + Sized {
type Ctx;
// Required method
fn write<B: BitBufMut, T: ByteOrder>(
&self,
buf: &mut B,
ctx: Self::Ctx,
) -> ParselyResult<()>;
}
Required Associated Types§
Required Methods§
fn write<B: BitBufMut, T: ByteOrder>( &self, buf: &mut B, ctx: Self::Ctx, ) -> ParselyResult<()>
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.