Lines Matching refs:code
33 /// specified status code to the host.
35 /// The meaning of the code depends on the context, with 0 usually meaning
40 @unstable(feature = cli-exit-with-code)
41 exit-with-code: func(status-code: u8);
54 enum error-code {
66 use types.{error-code};
76 /// success if stdin was closed by the writer or to an error-code if reading
82 read-via-stream: func() -> tuple<stream<u8>, future<result<_, error-code>>>;
87 use types.{error-code};
93 /// error-code representing a failure.
96 /// dropped and this function will return an error-code.
98 write-via-stream: func(data: stream<u8>) -> future<result<_, error-code>>;
103 use types.{error-code};
109 /// error-code representing a failure.
112 /// dropped and this function will return an error-code.
114 write-via-stream: func(data: stream<u8>) -> future<result<_, error-code>>;