rocket::mtls::oid::asn1_rs::nom

Trait 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§