pub trait FindToken<T> {
    // Required method
    fn find_token(&self, token: T) -> bool;
}
Available on crate feature mtls only.
Expand description

Look for a token in self

Required Methods§

fn find_token(&self, token: T) -> bool

Returns true if self contains the token

Implementations on Foreign Types§

§

impl FindToken<u8> for [u8; 0]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 1]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 2]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 3]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 4]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 5]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 6]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 7]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 8]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 9]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 10]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 11]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 12]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 13]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 14]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 15]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 16]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 17]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 18]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 19]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 20]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 21]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 22]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 23]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 24]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 25]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 26]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 27]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 28]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 29]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 30]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 31]

§

fn find_token(&self, token: u8) -> bool

§

impl FindToken<u8> for [u8; 32]

§

fn find_token(&self, token: u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 0]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 1]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 2]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 3]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 4]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 5]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 6]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 7]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 8]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 9]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 10]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 11]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 12]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 13]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 14]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 15]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 16]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 17]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 18]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 19]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 20]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 21]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 22]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 23]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 24]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 25]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 26]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 27]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 28]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 29]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 30]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 31]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<&'a u8> for [u8; 32]

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a> FindToken<char> for &'a str

§

fn find_token(&self, token: char) -> bool

§

impl<'a> FindToken<char> for &'a [char]

§

fn find_token(&self, token: char) -> bool

§

impl<'a> FindToken<char> for &'a [u8]

§

fn find_token(&self, token: char) -> bool

§

impl<'a> FindToken<u8> for &'a str

§

fn find_token(&self, token: u8) -> bool

§

impl<'a> FindToken<u8> for &'a [u8]

§

fn find_token(&self, token: u8) -> bool

§

impl<'a, 'b> FindToken<&'a char> for &'b [char]

§

fn find_token(&self, token: &char) -> bool

§

impl<'a, 'b> FindToken<&'a u8> for &'b str

§

fn find_token(&self, token: &u8) -> bool

§

impl<'a, 'b> FindToken<&'a u8> for &'b [u8]

§

fn find_token(&self, token: &u8) -> bool

Implementors§