Enum hglib::Chunk
[−]
[src]
pub enum Chunk { Output(Vec<u8>), Error(Vec<u8>), Debug(Vec<u8>), Result(i32), Input(i32), LineInput(i32), }
A type representing a "chunk" of data received from the command server.
Variants
Output(Vec<u8>)
Data received on the output channel (equivalent to stdout).
Error(Vec<u8>)
Data received on the error channel (equivalent to stderr).
Debug(Vec<u8>)
Data received on the debug channel (log entries).
Result(i32)
The exit code of a Mercurial command.
Input(i32)
Indicates that the client should send input of the given maximum length.
LineInput(i32)
Indicates that the client should send line-oriented input of the given maximum length.