Trait kfl::traits::DecodeScalar
source · pub trait DecodeScalar<S: ErrorSpan>: Sized {
// Required method
fn decode(
value: &Value<S>,
ctx: &mut Context<S>
) -> Result<Self, DecodeError<S>>;
}
Expand description
The trait that decodes scalar value and checks its type