Trait vanityaddr::Prefixable
source · pub(crate) trait Prefixable {
// Required methods
fn new() -> Self;
fn to_string(&self) -> String;
fn _get_secret(&self) -> SecretKey;
// Provided methods
fn starts_with(&self, prefix: &str, case_sensitive: bool) -> bool { ... }
fn starts_with_any(&self, prefixes: &[String], case_sensitive: bool) -> bool { ... }
}
Required Methods§
Provided Methods§
fn starts_with(&self, prefix: &str, case_sensitive: bool) -> bool
fn starts_with_any(&self, prefixes: &[String], case_sensitive: bool) -> bool
Object Safety§
This trait is not object safe.