pub trait AsBStr {
// Required method
fn as_bstr(&self) -> &[u8] ⓘ;
}
Expand description
Helper trait for types that can be viewed as a byte slice
Required Methods§
Implementations on Foreign Types§
Implementors§
impl<'a> AsBStr for &'a BStr
impl<I> AsBStr for Located<I>where
I: AsBStr,
impl<I> AsBStr for Partial<I>where
I: AsBStr,
impl<I, E> AsBStr for Recoverable<I, E>
Available on crate features
unstable-recover
and std
only.