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§

source

fn new() -> Self

source

fn to_string(&self) -> String

source

fn _get_secret(&self) -> SecretKey

Provided Methods§

source

fn starts_with(&self, prefix: &str, case_sensitive: bool) -> bool

source

fn starts_with_any(&self, prefixes: &[String], case_sensitive: bool) -> bool

Object Safety§

This trait is not object safe.

Implementors§