feat(proto): add directional echo codecs

This commit is contained in:
Nils Andreas Svee committed 2026-08-04 00:34:12 +07:00
1 parent cc7f7fc9b2
commit cabe0f6c24
6 files changed
+447 -50

No files matched your search

+4
View File
@@ -40,4 +40,8 @@ pub enum ProtoError {
MalformedParams,
#[error("payload is too large: {provided} bytes provided, {available} bytes available")]
PayloadTooLarge { available: usize, provided: usize },
#[error("required packet field {0} is missing")]
MissingField(&'static str),
#[error("packet field {0} is not present in the negotiated layout")]
UnexpectedField(&'static str),
}