struct

Tracing::Core::Kind

Inherits Struct < Value < Object

Indicates whether a callsite is a span, event, or hint.

Constants

EVENT = new(EVENT_BIT)
EVENT_BIT = 1_u8
HINT = new(HINT_BIT)
HINT_BIT = 4_u8
SPAN = new(SPAN_BIT)
SPAN_BIT = 2_u8

Constructors

new(bits : UInt8 = 0)
Source

Instance methods

==(other : Kind) : Bool
Source
bits
Source
event?
Source
hint
Source
hint?
Source
span?
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source