镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add HeaderValue and HeaderName to Bytes - #811

Open
howardjohn wants to merge 1 commit into
hyperium:masterfrom
howardjohn:bytes/to-bytes
Open

howardjohn wants to merge 1 commit into
hyperium:masterfrom
howardjohn:bytes/to-bytes

Conversation

@howardjohn

Copy link
Copy Markdown

Fixes #661
Part of #459

This enables conversion of these without copying which is useful for performance. I believe these were removed due to Bytes being pre-1.0, which has now been resolved.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Any way to convert HeaderValue to Bytes without copying?

1 participant