Trait AsBytes
trait AsBytes
Helper trait for types that can be viewed as a byte slice
Required Methods
fn as_bytes(self: &Self) -> &[u8]Casts the input type to a byte slice
Implementors
impl<I> AsBytes for Partial<I>impl AsBytes for &[u8]impl AsBytes for &Bytesimpl<I, S> AsBytes for Stateful<I, S>impl<I> AsBytes for LocatingSlice<I>