type qty =
| Totally
| Partially
val qty_to_yojson : qty -> Yojson.Safe.t
val qty_of_yojson : Yojson.Safe.t -> qty Ppx_deriving_yojson_runtime.error_or
val str_qty : qty -> string
val mem_val_to_yojson : mem_val -> Yojson.Safe.t
val mem_val_of_yojson :
Yojson.Safe.t ->
mem_val Ppx_deriving_yojson_runtime.error_or
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val is_concrete : t -> bool
val drop_perm_exn : perm:Perm.t -> t -> t
val update_parent_perm : t -> left:t -> right:t -> t
val pp : Stdlib.Format.formatter -> t -> unit
val check_perm :
Compcert.Memtype.permission option ->
t ->
(unit, err) Stdlib.result
val exact_perm :
t ->
[> `KeepLooking | `StopLooking of (Perm.t, err) Stdlib.result ]