pub trait FieldDecoder: Sized {
type Buffer: AsMut<[u8]> + Default;
// Required method
fn decode(bytes: &[u8]) -> Result<Self, Error>;
}Expand description
Decodes a fixed-format XRPL field from its raw byte representation.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".