IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo struct

NullDispatchTrace

struct NullDispatchTrace

Discards every dispatch-phase event.

Implemented traits​

AnyType, Copyable, Deinitable, DispatchTraceSink, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable

comptime members​

enabled​

comptime enabled = False

Methods​

__init__​

def __init__() -> Self

Constructs the no-op sink.

stamp​

def stamp[event: Int](self, index: Int, value: UInt64)

Ignores the event.

Parameters:

  • ​event (Int): Unused.

Args:

  • ​index (Int): Unused.
  • ​value (UInt64): Unused.

Was this page helpful?