type <ahref='#associatedtype.Stream'class='type'>Stream</a>: <aclass='trait'href='../../../solicit/http/session/trait.Stream.html'title='solicit::http::session::Stream'>Stream</a>;
<p>Clients built on top of the raw <code>HttpConnection</code> + <code>Session</code> can still exist without using
this trait; however, it is included for convenience, as most session implementations <em>will</em>
want to keep track of similar things in the session's state.</p>
</div>
<h2id='associated-types'>Associated Types</h2>
<divclass='methods'>
<h3id='associatedtype.Stream'class='method stab '><code>type <ahref='#associatedtype.Stream'class='type'>Stream</a>: <aclass='trait'href='../../../solicit/http/session/trait.Stream.html'title='solicit::http::session::Stream'>Stream</a></code></h3><divclass='docblock'><p>The type of the <code>Stream</code> that the <code>SessionState</code> manages.</p>
<h3id='tymethod.insert_stream'class='method stab '><code>fn <ahref='#tymethod.insert_stream'class='fnname'>insert_stream</a>(&mut self, stream: Self::Stream)</code></h3><divclass='docblock'><p>Inserts the given <code>Stream</code> into the session's state, starting to track it.</p>
</div><h3id='tymethod.get_stream_ref'class='method stab '><code>fn <ahref='#tymethod.get_stream_ref'class='fnname'>get_stream_ref</a>(&self, stream_id: <aclass='type'href='../../../solicit/http/type.StreamId.html'title='solicit::http::StreamId'>StreamId</a>) -><aclass='enum'href='https://doc.rust-lang.org/nightly/core/option/enum.Option.html'title='core::option::Option'>Option</a><&Self::Stream></code></h3><divclass='docblock'><p>Returns a reference to a <code>Stream</code> with the given <code>StreamId</code>, if it is found in the current
</div><h3id='tymethod.get_stream_mut'class='method stab '><code>fn <ahref='#tymethod.get_stream_mut'class='fnname'>get_stream_mut</a>(&mut self, stream_id: <aclass='type'href='../../../solicit/http/type.StreamId.html'title='solicit::http::StreamId'>StreamId</a>) -><aclass='enum'href='https://doc.rust-lang.org/nightly/core/option/enum.Option.html'title='core::option::Option'>Option</a><&mut Self::Stream></code></h3><divclass='docblock'><p>Returns a mutable reference to a <code>Stream</code> with the given <code>StreamId</code>, if it is found in the
</div><h3id='tymethod.remove_stream'class='method stab '><code>fn <ahref='#tymethod.remove_stream'class='fnname'>remove_stream</a>(&mut self, stream_id: <aclass='type'href='../../../solicit/http/type.StreamId.html'title='solicit::http::StreamId'>StreamId</a>) -><aclass='enum'href='https://doc.rust-lang.org/nightly/core/option/enum.Option.html'title='core::option::Option'>Option</a><Self::Stream></code></h3><divclass='docblock'><p>Removes the stream with the given <code>StreamId</code> from the session. If the stream was found in
</div><h3id='tymethod.iter'class='method stab '><code>fn <ahref='#tymethod.iter'class='fnname'>iter</a>(&mut self) -><aclass='struct'href='../../../solicit/http/session/struct.StreamIter.html'title='solicit::http::session::StreamIter'>StreamIter</a><Self::Stream></code></h3><divclass='docblock'><p>Returns an iterator over the streams currently found in the session.</p>
<h3id='method.get_closed'class='method stab '><code>fn <ahref='#method.get_closed'class='fnname'>get_closed</a>(&mut self) -><aclass='struct'href='https://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html'title='collections::vec::Vec'>Vec</a><Self::Stream></code></h3><divclass='docblock'><p>Returns all streams that are closed and tracked by the session state.</p>