@@ -1244,10 +1244,13 @@ the <code>get</code> method will return <code>some</code>.</p>
1244
1244
once the future is ready.</p >
1245
1245
<p >The outer <code >option</code > represents future readiness. Users can wait on this
1246
1246
<code >option</code > to become <code >some</code > using the <code >subscribe</code > method.</p >
1247
- <p >The <code >result</code > represents that either the HTTP Request or Response body,
1248
- as well as any trailers, were received successfully, or that an error
1249
- occured receiving them. The optional <a href =" #trailers " ><code >trailers</code ></a > indicates whether or not
1250
- trailers were present in the body.</p >
1247
+ <p >The outer <code >result</code > is used to retrieve the trailers or error at most
1248
+ once. It will be success on the first call in which the outer option
1249
+ is <code >some</code >, and error on subsequent calls.</p >
1250
+ <p >The inner <code >result</code > represents that either the HTTP Request or Response
1251
+ body, as well as any trailers, were received successfully, or that an
1252
+ error occured receiving them. The optional <a href =" #trailers " ><code >trailers</code ></a > indicates whether
1253
+ or not trailers were present in the body.</p >
1251
1254
<p >When some <a href =" #trailers " ><code >trailers</code ></a > are returned by this method, the <a href =" #trailers " ><code >trailers</code ></a >
1252
1255
resource is immutable, and a child. Use of the <code >set</code >, <code >append</code >, or
1253
1256
<code >delete</code > methods will return an error, and the resource must be
@@ -1258,7 +1261,7 @@ dropped before the parent <a href="#future_trailers"><code>future-trailers</code
1258
1261
</ul >
1259
1262
<h5 >Return values</h5 >
1260
1263
<ul >
1261
- <li ><a name =" method_future_trailers.get.0 " ></a > option< ; result< ; option< ; own< ; <a href =" #trailers " ><a href =" #trailers " ><code >trailers</code ></a ></a >> ;> ; , <a href =" #error_code " ><a href =" #error_code " ><code >error-code</code ></a ></a >> ;> ; </li >
1264
+ <li ><a name =" method_future_trailers.get.0 " ></a > option< ; result< ; result & lt ; option< ; own< ; <a href =" #trailers " ><a href =" #trailers " ><code >trailers</code ></a ></a >> ;> ; , <a href =" #error_code " ><a href =" #error_code " ><code >error-code</code ></a ></a >& gt ; > ;> ; </li >
1262
1265
</ul >
1263
1266
<h4 ><a name =" constructor_outgoing_response " ><code >[constructor]outgoing-response: func</code ></a ></h4 >
1264
1267
<p >Construct an <a href =" #outgoing_response " ><code >outgoing-response</code ></a >, with a default <a href =" #status_code " ><code >status-code</code ></a > of <code >200</code >.
0 commit comments