Enum savefile::SavefileError[][src]

#[must_use]
pub enum SavefileError { IncompatibleSchema { message: String, }, IOError { io_error: Error, }, InvalidUtf8 { msg: String, }, OutOfMemory { err: AllocErr, }, MemoryAllocationLayoutError, ArrayvecCapacityError { msg: String, }, }

This object represents an error in deserializing or serializing an item.

Variants

Fields of IncompatibleSchema

Fields of IOError

Fields of InvalidUtf8

Fields of OutOfMemory

Fields of ArrayvecCapacityError

Trait Implementations

impl Debug for SavefileError
[src]

Formats the value using the given formatter. Read more

impl From<Error> for SavefileError
[src]

Performs the conversion.

impl From<AllocErr> for SavefileError
[src]

Performs the conversion.

impl From<FromUtf8Error> for SavefileError
[src]

Performs the conversion.

impl<T> From<CapacityError<T>> for SavefileError
[src]

Performs the conversion.

Auto Trait Implementations