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

Trait InputLength

Source
pub trait InputLength {
    // Required method
    fn input_len(&self) -> usize;
}
Available on crate feature mtls only.
Expand description

Abstract method to calculate the input length

Required Methods§

Source

fn input_len(&self) -> usize

Calculates the input length, as indicated by its name, and the name of the trait itself

Implementations on Foreign Types§

Source§

impl InputLength for [u8; 0]

Source§

impl InputLength for [u8; 1]

Source§

impl InputLength for [u8; 2]

Source§

impl InputLength for [u8; 3]

Source§

impl InputLength for [u8; 4]

Source§

impl InputLength for [u8; 5]

Source§

impl InputLength for [u8; 6]

Source§

impl InputLength for [u8; 7]

Source§

impl InputLength for [u8; 8]

Source§

impl InputLength for [u8; 9]

Source§

impl InputLength for [u8; 10]

Source§

impl InputLength for [u8; 11]

Source§

impl InputLength for [u8; 12]

Source§

impl InputLength for [u8; 13]

Source§

impl InputLength for [u8; 14]

Source§

impl InputLength for [u8; 15]

Source§

impl InputLength for [u8; 16]

Source§

impl InputLength for [u8; 17]

Source§

impl InputLength for [u8; 18]

Source§

impl InputLength for [u8; 19]

Source§

impl InputLength for [u8; 20]

Source§

impl InputLength for [u8; 21]

Source§

impl InputLength for [u8; 22]

Source§

impl InputLength for [u8; 23]

Source§

impl InputLength for [u8; 24]

Source§

impl InputLength for [u8; 25]

Source§

impl InputLength for [u8; 26]

Source§

impl InputLength for [u8; 27]

Source§

impl InputLength for [u8; 28]

Source§

impl InputLength for [u8; 29]

Source§

impl InputLength for [u8; 30]

Source§

impl InputLength for [u8; 31]

Source§

impl InputLength for [u8; 32]

Source§

impl<'a> InputLength for &'a str

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'a> InputLength for (&'a [u8], usize)

Source§

impl<'a, T> InputLength for &'a [T]

Implementors§