package mirage-console-xen-backend

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Mirage_console_lwt.S
type 'a io = 'a Lwt.t
type t
val disconnect : t -> unit io
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
val read : t -> (buffer Mirage_flow.or_eof, error) Stdlib.result io
val write : t -> buffer -> (unit, write_error) Stdlib.result io
val writev : t -> buffer list -> (unit, write_error) Stdlib.result io
val close : t -> unit io
val log : t -> string -> unit io
val connect : string -> t Lwt.t
OCaml

Innovation. Community. Security.