Unpack_sequence.Unpack_resulttype 'a t = | Input_closed| Input_closed_in_the_middle_of_data of 'a Unpack_buffer.t| Output_closed| Unpack_error of Core.Error.tval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.tval to_error : _ t -> Core.Error.t