LookupError

Enumin secret_storefastly 0.13.1View source
#[non_exhaustive]
pub enum LookupError {
InvalidSecretStoreHandle,
InvalidSecretName(String),
InvalidSecretHandle,
Unexpected(FastlyStatus),
}

Errors thrown when a secret store lookup failed.

Variants

InvalidSecretStoreHandle

The secret store handle given is invalid.

InvalidSecretName

The secret name given is invalid.

0: String

InvalidSecretHandle

The secret handle given is invalid.

Unexpected

An unexpected error occurred.

0: fastly_shared::FastlyStatus

Trait implementations

impl Debug for LookupError

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

Parameters

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

Returns

$crate::fmt::Result

impl Display for LookupError

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

Parameters

self: &Self
__formatter: &mut ::core::fmt::Formatter

Returns

::core::fmt::Result

Auto trait implementations

Blanket implementations