LookupError

Enumin config_storefastly 0.13.1View source
1
2
3
4
5
6
7
8
9
#[non_exhaustive]
pub enum LookupError {
ConfigStoreInvalid,
KeyInvalid,
KeyTooLong,
ValueTooLong,
TooManyLookups,
Other,
}

Errors thrown when a config store lookup failed.

Variants

ConfigStoreInvalid

The config store handle used for a lookup was invalid.

KeyInvalid

The config store key provided was invalid.

KeyTooLong

The config store key provided was too long.

ValueTooLong

The config store value was too long for the provided buffer length.

TooManyLookups

Too many lookups have been performed

Other

A config store lookup failed for some other reason.

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