module Make_encap:
functor (
T
:
TYPE
) ->
ENCAP
with type t = T.t
Create an encapsulation module
type t
val wrap : t -> Netplex_encap.encap
t -> Netplex_encap.encap
val unwrap : Netplex_encap.encap -> t
Netplex_encap.encap -> t
Raises Netplex_encap.Type_mismatch if the value does not fit
Netplex_encap.Type_mismatch