Trait rocket::mtls::x509::der_parser::asn1_rs::nom::FindToken

source ·
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§

source

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

Returns true if self contains the token

Implementations on Foreign Types§

source§

impl FindToken<u8> for [u8; 0]

source§

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

source§

impl FindToken<u8> for [u8; 1]

source§

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

source§

impl FindToken<u8> for [u8; 2]

source§

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

source§

impl FindToken<u8> for [u8; 3]

source§

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

source§

impl FindToken<u8> for [u8; 4]

source§

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

source§

impl FindToken<u8> for [u8; 5]

source§

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

source§

impl FindToken<u8> for [u8; 6]

source§

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

source§

impl FindToken<u8> for [u8; 7]

source§

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

source§

impl FindToken<u8> for [u8; 8]

source§

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

source§

impl FindToken<u8> for [u8; 9]

source§

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

source§

impl FindToken<u8> for [u8; 10]

source§

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

source§

impl FindToken<u8> for [u8; 11]

source§

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

source§

impl FindToken<u8> for [u8; 12]

source§

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

source§

impl FindToken<u8> for [u8; 13]

source§

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

source§

impl FindToken<u8> for [u8; 14]

source§

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

source§

impl FindToken<u8> for [u8; 15]

source§

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

source§

impl FindToken<u8> for [u8; 16]

source§

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

source§

impl FindToken<u8> for [u8; 17]

source§

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

source§

impl FindToken<u8> for [u8; 18]

source§

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

source§

impl FindToken<u8> for [u8; 19]

source§

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

source§

impl FindToken<u8> for [u8; 20]

source§

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

source§

impl FindToken<u8> for [u8; 21]

source§

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

source§

impl FindToken<u8> for [u8; 22]

source§

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

source§

impl FindToken<u8> for [u8; 23]

source§

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

source§

impl FindToken<u8> for [u8; 24]

source§

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

source§

impl FindToken<u8> for [u8; 25]

source§

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

source§

impl FindToken<u8> for [u8; 26]

source§

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

source§

impl FindToken<u8> for [u8; 27]

source§

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

source§

impl FindToken<u8> for [u8; 28]

source§

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

source§

impl FindToken<u8> for [u8; 29]

source§

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

source§

impl FindToken<u8> for [u8; 30]

source§

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

source§

impl FindToken<u8> for [u8; 31]

source§

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

source§

impl FindToken<u8> for [u8; 32]

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

Implementors§