CandyShared is a Rust enum that provides a wrapper type for convenient data manipulation inside ICP canisters.
This enum includes various data types that can be used for communication between canisters, including integers, floats, text, boolean, and more.
ToCandyValue is a trait that defines a method to_candy, which is used to convert a value of any type into a CandyShared enum.
This trait can be implemented by any type that can be converted into a CandyShared enum, allowing for seamless integration with the CandyShared type in Rust code.