Trait h2::proto::streams::store::Next

source ·
pub(super) trait Next {
    // Required methods
    fn next(stream: &Stream) -> Option<Key>;
    fn set_next(stream: &mut Stream, key: Option<Key>);
    fn take_next(stream: &mut Stream) -> Option<Key>;
    fn is_queued(stream: &Stream) -> bool;
    fn set_queued(stream: &mut Stream, val: bool);
}

Required Methods§

source

fn next(stream: &Stream) -> Option<Key>

source

fn set_next(stream: &mut Stream, key: Option<Key>)

source

fn take_next(stream: &mut Stream) -> Option<Key>

source

fn is_queued(stream: &Stream) -> bool

source

fn set_queued(stream: &mut Stream, val: bool)

Implementors§