BufferKind

Enumin errorfastly 0.13.1View source
1
2
3
4
5
6
7
8
#[non_exhaustive]
pub enum BufferKind {
Geo,
HeaderName,
HeaderValue,
HttpMethod,
Url,
}

Enum describing what kind of buffer had insufficient size, in a BufferSizeError.

Variants

Geo

The too-small buffer is for holding a Geo.

HeaderName

The too-small buffer is for holding a header name.

HeaderValue

The too-small buffer is for holding a header value.

HttpMethod

The too-small buffer is for holding an HTTP method.

Url

The too-small buffer is for holding a URL.

Trait implementations

impl Clone for BufferKind

fn clone(&self) -> Self

Parameters

self: &Self

Returns

Self

impl Debug for BufferKind

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Parameters

self: &Self
f: &mut $crate::fmt::Formatter

Returns

$crate::fmt::Result

impl Display for BufferKind

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Parameters

self: &Self
f: &mut fmt::Formatter

Returns

fmt::Result

impl PartialEq for BufferKind

fn eq(&self, other: &Self) -> bool

Parameters

self: &Self
other: &Self

Returns

bool

Auto trait implementations

Blanket implementations