Function data_encoding::base::valid
[−]
[src]
pub fn valid<B: Base>(base: &B) -> Result<(), ValidError>
Checks whether a base is valid.
This function checks whether a base satisfies the
Base
constraints, given that the
implementation is deterministic.