pub enum Inbound {
Frame(Value),
Violation(Violation),
}Expand description
One inbound frame, or a framing violation (kept distinct so callers can log/strike).
Deliberately EXHAUSTIVE (no #[non_exhaustive]): a reader yields exactly these
two outcomes, and every caller must decide both — a silently-ignorable third
outcome would be a codec bug, not an extension point.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inbound
impl RefUnwindSafe for Inbound
impl Send for Inbound
impl Sync for Inbound
impl Unpin for Inbound
impl UnsafeUnpin for Inbound
impl UnwindSafe for Inbound
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more