pub struct StreamIncomingDataReply<'a> {
pub handled: bool,
pub have_more_data: bool,
pub data: Option<&'a [u8]>,
}Expand description
Return value to Stream::handle_incoming_data.
Fields§
§handled: boolSome of the data was handled
have_more_data: boolData was received in addition to any in the data field that could be retrieved with
Stream::poll_recv.
data: Option<&'a [u8]>Any application data that could be parsed from the incoming data.