added more functions from original code, added macro
This commit is contained in:
@@ -4,7 +4,7 @@ use crate::proto_gen::phonemetadata::PhoneNumberDesc;
|
||||
/// implementation of the matcher and allow different implementations to be
|
||||
/// swapped in easily.
|
||||
|
||||
pub(crate) trait MatcherApi {
|
||||
pub(crate) trait MatcherApi: Send + Sync {
|
||||
/// Returns whether the given national number (a string containing only decimal
|
||||
/// digits) matches the national number pattern defined in the given
|
||||
/// PhoneNumberDesc message.
|
||||
|
||||
Reference in New Issue
Block a user