package mirage-flow-rawlink

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Mirage_flow_rawlink exposes rawlink interfaces as MirageOS flow devices.

Release v1.1.0 - https://github.com/mirage/mirage-flow-rawlink

include Mirage_flow_lwt.S with type flow = Lwt_rawlink.t
type 'a io = 'a Lwt.t
type error
val pp_error : error Fmt.t
type write_error = private [>
  1. | Mirage_flow.write_error
]
val pp_write_error : write_error Fmt.t
type buffer = Cstruct.t
type flow = Lwt_rawlink.t
val read : flow -> (buffer Mirage_flow.or_eof, error) Stdlib.result io
val write : flow -> buffer -> (unit, write_error) Stdlib.result io
val writev : flow -> buffer list -> (unit, write_error) Stdlib.result io
val close : flow -> unit io
OCaml

Innovation. Community. Security.