summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
49ab8c2)
This should provide some additional future extensibility, allowing
for new informational events which can be safely ignored to be
ignored by older versions.
+ // Versions prior to 0.0.100 did not ignore odd types, instead returning InvalidValue.
+ x if x % 2 == 1 => Ok(None),
_ => Err(msgs::DecodeError::InvalidValue)
}
}
_ => Err(msgs::DecodeError::InvalidValue)
}
}