Enum maidsafe_utilities::serialisation::SerialisationError []

pub enum SerialisationError {
    Serialise(EncodingError),
    Deserialise(DecodingError),
}

Serialisation error.

Variants

Serialise(EncodingError)

Error during serialisation (encoding).

Deserialise(DecodingError)

Error during deserialisation (decoding).

Trait Implementations

impl Debug for SerialisationError
[src]

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

Formats the value using the given formatter.

impl Display for SerialisationError

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

Formats the value using the given formatter.

impl Error for SerialisationError

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more

impl From<EncodingError> for SerialisationError

fn from(err: EncodingError) -> SerialisationError

Performs the conversion.

impl From<DecodingError> for SerialisationError

fn from(err: DecodingError) -> SerialisationError

Performs the conversion.