1 2 3 4 5 6 7
/// A custom type is an application defined type with special semantics. pub const CUSTOM_VALUE_KIND_START: u8 = 0x80; pub const OPTION_VARIANT_NONE: u8 = 0; pub const OPTION_VARIANT_SOME: u8 = 1; pub const RESULT_VARIANT_OK: u8 = 0; pub const RESULT_VARIANT_ERR: u8 = 1;