enum

Tracing::Core::Callsite::Interest

Inherits Enum < Comparable < Value < Object

Indicates the subscriber's interest in a callsite.

Constants

NEVER = 0_u8
SOMETIMES = 1_u8
ALWAYS = 2_u8

Constructors

always
Source
never
Source
sometimes
Source

Instance methods

always?

Returns true if this enum value equals ALWAYS

Source
and(other : Interest) : Interest

Combine two interests: returns the most restrictive (lowest) interest.

Source
never?

Returns true if this enum value equals NEVER

Source
sometimes?

Returns true if this enum value equals SOMETIMES

Source