LookupError

Enumin dictionaryfastly 0.13.1since 0.8.6View source
Deprecated: use config_store::LookupError instead
1
2
3
4
5
6
7
8
9
#[non_exhaustive]
pub enum LookupError {
DictionaryInvalid,
KeyInvalid,
KeyTooLong,
ValueTooLong,
TooManyLookups,
Other,
}

Errors thrown when a dictionary lookup failed.

Variants

DictionaryInvalid

The dictionary handle used for a lookup was invalid.

KeyInvalid

The dictionary key provided was invalid.

KeyTooLong

The dictionary key provided was too long.

ValueTooLong

The dictionary value was too long for the provided buffer length.

TooManyLookups

Too many lookups have been performed

Other

A dictionary lookup failed for some other reason.

Trait implementations

impl Debug for LookupError

fmt

deprecatedView source
Deprecated: renamed to handle::config_store
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Parameters

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

Returns

$crate::fmt::Result

impl Display for LookupError

fmt

deprecatedView source
Deprecated: renamed to handle::config_store
fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Parameters

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

Returns

::core::fmt::Result

Auto trait implementations

Blanket implementations