Pi.FLOWSourceinclude Eio.File.Pi.WRITEinclude Eio.Flow.Pi.SINKinclude Eio.File.Pi.READ with type t := tinclude Eio.Flow.Pi.SOURCE with type t := tval pread : t -> file_offset:Optint.Int63.t -> Cstruct.t list -> intval stat : t -> Eio.File.Stat.tval seek : t -> Optint.Int63.t -> [ `Set | `Cur | `End ] -> Optint.Int63.tval pwrite : t -> file_offset:Optint.Int63.t -> Cstruct.t list -> intval sync : t -> unitval truncate : t -> Optint.Int63.t -> unitinclude STREAM_SOCKET with type t := tinclude Eio.Net.Pi.STREAM_SOCKET with type t := tinclude Eio.Flow.Pi.SHUTDOWN with type t := tval shutdown : t -> Eio.Flow.shutdown_command -> unitinclude Eio.Flow.Pi.SOURCE with type t := tval read_methods : t Eio.Flow.read_method listinclude Eio.Flow.Pi.SINK with type t := tval copy : t -> src:_ Eio.Flow.source -> unitcopy t ~src allows for optimising copy operations.
If you have no optimisations, you can use Eio.Flow.Pi.simple_copy to implement this using single_write.
val close : t -> unitval recv_msg_with_fds :
t ->
sw:Eio.Std.Switch.t ->
max_fds:int ->
Cstruct.t list ->
int * Fd.t list