lib/sys/src/event/root.zig

daab053ee43316e1809a84551d573ddd1e5bf3d2

 1 const sys = @import("../root.zig");
 2 const types = @import("types.zig");
 3 const backend = @import("poll.zig");
 4 
 5 pub const required_capabilities = sys.capabilities.host(&.{ .descriptors, .event_loop, .networking, .time });
 6 
 7 pub const AcceptError = types.AcceptError;
 8 pub const CallbackAction = types.CallbackAction;
 9 pub const CloseError = types.CloseError;
10 pub const Datagram = types.Datagram;
11 pub const Options = types.Options;
12 pub const PollError = types.PollError;
13 pub const PollEvent = types.PollEvent;
14 pub const ReadBuffer = types.ReadBuffer;
15 pub const ReadError = types.ReadError;
16 pub const RecvError = types.RecvError;
17 pub const RunMode = types.RunMode;
18 pub const SendError = types.SendError;
19 pub const WriteBuffer = types.WriteBuffer;
20 pub const WriteError = types.WriteError;
21 
22 pub const Async = backend.Async;
23 pub const Completion = backend.Completion;
24 pub const File = backend.File;
25 pub const Loop = backend.Loop;
26 pub const TCP = backend.TCP;
27 pub const Timer = backend.Timer;
28 pub const UDP = backend.UDP;