enum Weights [src]
Fields
none = 0
unpredictable = 1
_These values should be converted to Metadata to be used
in a prof annotation providing branch weights.
Source
pub const Weights = enum(u32) {
// We can do this as metadata indices 0 and 1 are reserved.
none = 0,
unpredictable = 1,
/// These values should be converted to `Metadata` to be used
/// in a `prof` annotation providing branch weights.
_,
}