Enum cocaine::protocol::Streaming
[−]
[src]
pub enum Streaming<T> { Write(T), Error(Error), Close, }
Streaming result, i.e stream of some chunks that ends with either Close
on normal execution
path or Error
otherwise.
This is mainly an application protocol - all cocaine applications on enqueue
method open a
stream of Streaming<String>
type.
Note
Used primarily in conjunction with deserialize
function inside dispatches to
map arguments into the user-defined type.
Variants
Write(T)
Error(Error)
Close