Struct Bytes
struct Bytes(_)
Improved Debug experience for &[u8] byte streams
Implementations
impl Bytes
fn new<B: ?Sized + AsRef<[u8]>>(bytes: &B) -> &SelfMake a stream out of a byte slice-like.
impl AsRef for Bytes
fn as_ref(self: &Self) -> &[u8]
impl Debug for Bytes
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Deref for Bytes
fn deref(self: &Self) -> &[u8]
impl Display for Bytes
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for Bytes
impl Freeze for Bytes
impl Hash for Bytes
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl Index for Bytes
fn index(self: &Self, idx: usize) -> &u8
impl Index for Bytes
fn index(self: &Self, _: RangeFull) -> &Bytes
impl Index for Bytes
fn index(self: &Self, r: Range<usize>) -> &Bytes
impl Index for Bytes
fn index(self: &Self, r: RangeInclusive<usize>) -> &Bytes
impl Index for Bytes
fn index(self: &Self, r: RangeFrom<usize>) -> &Bytes
impl Index for Bytes
fn index(self: &Self, r: RangeTo<usize>) -> &Bytes
impl Index for Bytes
fn index(self: &Self, r: RangeToInclusive<usize>) -> &Bytes
impl LowerHex for Bytes
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Ord for Bytes
fn cmp(self: &Self, other: &Bytes) -> Ordering
impl PartialEq for Bytes
fn eq(self: &Self, other: &Bytes) -> bool
impl PartialOrd for Bytes
fn partial_cmp(self: &Self, other: &Bytes) -> Option<Ordering>
impl RefUnwindSafe for Bytes
impl Send for Bytes
impl Sized for Bytes
impl Sync for Bytes
impl Unpin for Bytes
impl UnsafeUnpin for Bytes
impl UnwindSafe for Bytes
impl UpperHex for Bytes
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<'a> PartialEq for Bytes
fn eq(self: &Self, other: &&'a str) -> bool
impl<'a> PartialEq for Bytes
fn eq(self: &Self, other: &&'a [u8]) -> bool
impl<'a> PartialEq for Bytes
fn eq(self: &Self, other: &str) -> bool
impl<'a> PartialEq for Bytes
fn eq(self: &Self, other: &[u8]) -> bool
impl<'a> PartialOrd for Bytes
fn partial_cmp(self: &Self, other: &str) -> Option<Ordering>
impl<'a> PartialOrd for Bytes
fn partial_cmp(self: &Self, other: &[u8]) -> Option<Ordering>
impl<'a> PartialOrd for Bytes
fn partial_cmp(self: &Self, other: &&'a str) -> Option<Ordering>
impl<'a> PartialOrd for Bytes
fn partial_cmp(self: &Self, other: &&'a [u8]) -> Option<Ordering>
impl<P, T> Receiver for Bytes
impl<T> Any for Bytes
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Bytes
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Bytes
fn borrow_mut(self: &mut Self) -> &mut T