Up

Module Rpc_result

Internal to Async_rpc_kernel.

Signature

type 'a t = 'a Protocol.Rpc_result.t
val uncaught_exn : location:string -> exn -> 'a t
val bin_io_exn : location:string -> exn -> 'a t
val try_with : ?run:[
| `Now
| `Schedule
] -> location:string -> (unit -> 'a t Async_kernel.Std.Deferred.t) -> 'a t Async_kernel.Std.Deferred.t
val or_error : rpc_tag:Protocol.Rpc_tag.t -> rpc_version:int -> connection_description:Core_kernel.Std.Info.t -> 'a t -> 'a Core_kernel.Std.Or_error.t