Specify a flight descriptor in the first FlightData message.
(mut self, descriptor: Option<FlightDescriptor>)
| 230 | |
| 231 | /// Specify a flight descriptor in the first FlightData message. |
| 232 | pub fn with_flight_descriptor(mut self, descriptor: Option<FlightDescriptor>) -> Self { |
| 233 | self.descriptor = descriptor; |
| 234 | self |
| 235 | } |
| 236 | |
| 237 | /// Takes a [`Stream`] of [`Result<RecordBatch>`] and returns a [`Stream`] |
| 238 | /// of [`FlightData`], consuming self. |
no outgoing calls