Module frame

Source

Re-exportsยง

pub use self::data::Data;
pub use self::go_away::GoAway;
pub use self::head::Head;
pub use self::head::Kind;
pub use self::headers::parse_u64;
pub use self::headers::Continuation;
pub use self::headers::Headers;
pub use self::headers::Pseudo;
pub use self::headers::PushPromise;
pub use self::headers::PushPromiseHeaderError;
pub use self::ping::Ping;
pub use self::priority::Priority;
pub use self::priority::StreamDependency;
pub use self::reason::Reason;
pub use self::reset::Reset;
pub use self::settings::Settings;
pub use self::stream_id::StreamId;
pub use self::stream_id::StreamIdOverflow;
pub use self::window_update::WindowUpdate;
pub use self::settings::DEFAULT_INITIAL_WINDOW_SIZE;
pub use self::settings::DEFAULT_MAX_FRAME_SIZE;
pub use self::settings::DEFAULT_SETTINGS_HEADER_TABLE_SIZE;
pub use self::settings::MAX_MAX_FRAME_SIZE;

Modulesยง

data ๐Ÿ”’
go_away ๐Ÿ”’
head ๐Ÿ”’
headers ๐Ÿ”’
ping ๐Ÿ”’
priority ๐Ÿ”’
reason ๐Ÿ”’
reset ๐Ÿ”’
settings ๐Ÿ”’
stream_id ๐Ÿ”’
util ๐Ÿ”’
window_update ๐Ÿ”’

Macrosยง

unpack_octets_4 ๐Ÿ”’
A helper macro that unpacks a sequence of 4 bytes found in the buffer with the given identifier, starting at the given offset, into the given integer type. Obviously, the integer type should be able to support at least 4 bytes.

Enumsยง

Error
Errors that can occur during parsing an HTTP/2 frame.
Frame

Constantsยง

HEADER_LEN

Type Aliasesยง

FrameSize