Trait xwt_core::stream::WriteableChunk

source ·
pub trait WriteableChunk: Send {
    type Data<'a>: From<&'a [u8]>;
}
Expand description

Something that specifies the data type for a Chunk that can be written to a stream.

Required Associated Types§

source

type Data<'a>: From<&'a [u8]>

The type that will hold the data to write.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl WriteableChunk for U8

§

type Data<'b> = &'b [u8]