module Prop:sig..end
Convenience interface for the
mailbox property interface (channel Tags_ARM_to_VC).
type 'a t =
| |
Unit : |
| |
Bytes : |
| |
Int32 : |
| |
Int64 : |
val unit : unit tunit is an empty property.val string : max:int -> string tstring is a string of maximum length max.val int : int tint is an integer property (parsed from an int32).val int32 : int32 tint32 is an int32 property.val int64 : int64 tint64 is an int64 property.val int_pair : (int * int) tint is an integer pair property (parsed from two int32s).val int32_pair : (int32 * int32) tint32_pair is an int32 pair property.val int64_pair : (int64 * int64) tint32_pair is an int64 pair property.typeargs =int32 list
type 'a req
type ereq
val req : ?args:args ->
int32 -> resp:'a t -> 'a reqreq t args resp is a property for tag t with request arguments
args (defaults to []) and response property parsed with resp.val r : 'a req -> ereqr req is an existential request for r.type resp
val send : ereq list -> resp Rpi.resultsend reqs sends the list of requests reqs in the given order.val find : resp -> 'a req -> 'a option Rpi.resultfind resp req finds the property value of req in response resp.
None is returned if the property can't be found.