fn from_serialize(error: FormatError, position: Position<'a>) -> Self {
        match error {
            FormatError::Type(ty) => Error::BadArg(position, ty),
            FormatError::Serde(err) => Error::BadData(position, err),
            FormatError::Io(err) => Error::Io(err),
        }
    }
/// Converts the internal formatting error into the public error.
Converts the internal formatting error into the public error.
Converts the internal formatting error into the public error .
fn from_serialize(error: FormatError, position: Position<'a>) -> Self {
        match error {
            FormatError::Type(ty) => Error::BadArg(position, ty),
            FormatError::Serde(err) => Error::BadData(position, err),
            FormatError::Io(err) => Error::Io(err),
        }
    }
fn from_serialize ( error : FormatError , position : Position < ' a > ) -> Self { match error { FormatError :: Type ( ty ) => Error :: BadArg ( position , ty ) , FormatError :: Serde ( err ) => Error :: BadData ( position , err ) , FormatError :: Io ( err ) => Error :: Io ( err ) , } }
Converts the internal formatting error into the public error.
Converts the internal formatting error into the public error .
error
FormatError
position
Position<'a>