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.