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]
impl Display for SerialisationError
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.