pub trait WireValue:
Sized
+ Send
+ 'static {
const SCHEMA_ID: u64;
// Required methods
fn encode(self) -> Result<Segments, ActionError>;
fn decode(segments: Segments) -> Result<Self, ActionError>;
}Required Associated Constants§
Required Methods§
fn encode(self) -> Result<Segments, ActionError>
fn decode(segments: Segments) -> Result<Self, ActionError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".