fn stopped_outcome(
outcome: Result<Option<VarInt>, StoppedError>,
) -> Result<(), TransportError>Expand description
Map quinn’s stopped() result onto TransportError.
Ok(None) is quinn’s the send state is gone, which it reports both for a
finished-and-acked stream and for one whose state it discarded; neither is
an error, so both become Ok(()).