Enum fastly::error::HandleKind
source · [−]#[non_exhaustive]
pub enum HandleKind {
Response,
Request,
Body,
}
Expand description
An enum representing the type of handles that exist within the Compute@Edge
platfrom 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 (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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
Auto Trait Implementations
impl RefUnwindSafe for HandleKind
impl Send for HandleKind
impl Sync for HandleKind
impl Unpin for HandleKind
impl UnwindSafe for HandleKind
Blanket Implementations
Mutably borrows from an owned value. Read more