pub trait SliceLen {
// Required method
fn slice_len(&self) -> usize;
}Expand description
Abstract method to calculate the input length
Required Methods§
Implementations on Foreign Types§
Implementors§
impl SliceLen for &BStr
impl SliceLen for &Bytes
impl<I> SliceLen for LocatingSlice<I>where
I: SliceLen,
impl<I> SliceLen for Partial<I>where
I: SliceLen,
impl<I, E> SliceLen for Recoverable<I, E>
Available on crate features
unstable-recover and std only.impl<I, S> SliceLen for Stateful<I, S>where
I: SliceLen,
impl<S: SliceLen> SliceLen for Caseless<S>
Available on crate feature
ascii only.