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§

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§

§

impl InputLength for [u8; 0]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 1]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 2]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 3]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 4]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 5]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 6]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 7]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 8]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 9]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 10]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 11]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 12]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 13]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 14]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 15]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 16]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 17]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 18]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 19]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 20]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 21]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 22]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 23]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 24]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 25]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 26]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 27]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 28]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 29]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 30]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 31]

§

fn input_len(&self) -> usize

§

impl InputLength for [u8; 32]

§

fn input_len(&self) -> usize

§

impl<'a> InputLength for &'a str

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

§

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

§

fn input_len(&self) -> usize

Implementors§