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<'a> SliceLen for &'a BStr
impl<'a> SliceLen for &'a Bytes
impl<I> SliceLen for Located<I>where
I: SliceLen,
impl<I> SliceLen for Partial<I>where
I: SliceLen,
impl<I, E> SliceLen for Recoverable<I, E>
Available on crate feature
unstable-recover
only.