type event = [ | `Established of int32| `Channel_data of int32 * Cstruct.t| `Channel_stderr of int32 * Cstruct.t| `Channel_eof of int32| `Channel_exit_status of int32 * int32| `Disconnected
]val pp_event : Stdlib.Format.formatter -> event -> unitval incoming :
t ->
Mtime.t ->
Cstruct.t ->
(t * Cstruct.t list * event list, string) Stdlib.resultval outgoing_request :
t ->
?id:int32 ->
?want_reply:bool ->
Ssh.channel_request ->
(t * Cstruct.t, string) Stdlib.resultval outgoing_data :
t ->
?id:int32 ->
Cstruct.t ->
(t * Cstruct.t list, string) Stdlib.resultval eof : ?id:int32 -> t -> t * Cstruct.t listval close : ?id:int32 -> t -> t * Cstruct.t option