pub fn scrypto_encode_with_depth_limit<T>(
    value: &T,
    depth_limit: usize
) -> Result<Vec<u8>, EncodeError>
where T: ScryptoEncode + ?Sized,