tiny.trace.EventSource
Defined in event.
API (7)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/trace/src/event.zig:299
zig
pub const Source = struct { context: *anyopaque, peekFn: *const fn (context: *anyopaque) anyerror!?*const Event, advanceFn: *const fn (context: *anyopaque) void, countFn: *const fn (context: *anyopaque) u64, pub fn peek(self: Source) !?*const Event { return try self.peekFn(self.context); } pub fn advance(self: Source) void { self.advanceFn(self.context); } pub fn count(self: Source) u64 { return self.countFn(self.context); }};Source: lib/trace/src/root.zig:45
zig
pub const EventSource = event.Source;Audit
| Definitions | 4 |
|---|---|
| Public names | 8 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |