[][src]Trait solana_jsonrpc_server_utils::Pattern

pub trait Pattern {
    fn matches<T: AsRef<str>>(&self, other: T) -> bool;
}

Pattern that can be matched to string.

Required Methods

Returns true if given string matches the pattern.

Implementors

impl Pattern for Origin
[src]

impl Pattern for Host
[src]