pub fn encode_with_constraints<T: Encode>(
constraints: Constraints<'_>,
value: &T,
) -> Result<Vec<u8>, EncodeError>
Expand description
Attempts to encode value
to UPER-CANONICAL.
pub fn encode_with_constraints<T: Encode>(
constraints: Constraints<'_>,
value: &T,
) -> Result<Vec<u8>, EncodeError>
Attempts to encode value
to UPER-CANONICAL.