Enum l20n::EncodeError [−] [src]

pub enum EncodeError {
    UnsupportedType,
    KeyIsNotString,
    MissingElements,
}

Errors that occur encoding environment data into something the L20n resources can use.

Variants

UnsupportedType

Type is not usable in L20n.

KeyIsNotString

Maps in L20n require keys to be Strings.

MissingElements

A map element is missing.

Trait Implementations

Derived Implementations

impl Debug for EncodeError

fn fmt(&self, __arg_0: &mut Formatter) -> Result