Trait Pattern
jsonrpc_server_utils
pub trait Pattern { fn matches<T: AsRef<str>>(&self, other: T) -> bool; }
Pattern that can be matched to string.
fn matches<T: AsRef<str>>(&self, other: T) -> bool
Returns true if given string matches the pattern.
impl Pattern for Origin
impl Pattern for Host