vyre_driver_wgpu/runtime/
serializer.rs1#[derive(Clone, Debug, Eq, PartialEq, thiserror::Error)]
5pub enum SerializerError {
6 #[error("invalid runtime frame: {message}")]
8 InvalidFrame {
9 message: String,
11 },
12 #[error("runtime frame serialization failed: {message}")]
14 Serialization {
15 message: String,
17 },
18}
19
20pub type SerializerResult<T, E = SerializerError> = Result<T, E>;
22
23pub use decode_parts::decode_parts;
24pub use encode_parts::{encode_parts, MAX_SERIALIZED_PART_BYTES};
25
26pub mod decode_parts;
28pub mod encode_parts;