HandleKind

Enumin errorfastly 0.13.1View source
#[non_exhaustive]
pub enum HandleKind {
Response,
Request,
Body,
}

An enum representing the type of handles that exist within the Compute platform that point to resources on the host side that users can access or manipulate. Typically this enum is used as part of HandleError to let you know the type of handle involved when there is an error thrown while using the lower level handle interface

Variants

Response

This variant corresponds to the ResponseHandle type

Request

This variant corresponds to the RequestHandle type

Body

This variant corresponds to the BodyHandle type

Trait implementations

impl Clone for HandleKind

fn clone(&self) -> Self

Parameters

self: &Self

Returns

Self

impl Debug for HandleKind

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

Parameters

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

Returns

$crate::fmt::Result

impl Display for HandleKind

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

Parameters

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

Returns

fmt::Result

impl PartialEq for HandleKind

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

Parameters

self: &Self
other: &Self

Returns

bool

Auto trait implementations

Blanket implementations