bytes 1.12.1
README badge
[](https://proofs.rs/crate/bytes?version=1.12.1)Types and traits for working with bytes
Reports (1)
Findings (1)
| Finding | Status | Report | Links |
|---|---|---|---|
| Checked variable-width signed reads omit sign extension | Reported | #8 · v1 | PR |
APIs (2856)
APIClaims · findings
Functions
No functions.
Associated functions
impl Bytes
pub fn copy_from_slice(data: &[u8]) -> Self—pub fn from_owner<T>(owner: T) -> Self where T: AsRef<[u8]> + Send + 'static—pub const fn from_static(bytes: &'static [u8]) -> Self—pub const fn new() -> Self—impl BytesMut
pub fn new() -> BytesMut—pub fn with_capacity(capacity: usize) -> BytesMut—pub fn zeroed(len: usize) -> BytesMut—impl buf::IntoIter<T>
pub fn new(inner: T) -> IntoIter<T>—impl buf::UninitSlice
pub unsafe fn from_raw_parts_mut<'a>(ptr: *mut u8, len: usize) -> &'a mut UninitSlice—pub fn new(slice: &mut [u8]) -> &mut UninitSlice—pub fn uninit(slice: &mut [MaybeUninit<u8>]) -> &mut UninitSlice—Methods
impl Bytes
pub fn clear(self: &mut Self)—pub const fn is_empty(self: &Self) -> bool—pub fn is_unique(self: &Self) -> bool—pub const fn len(self: &Self) -> usize—pub fn slice<impl RangeBounds<usize>: RangeBounds<usize>>(self: &Self, range: impl RangeBounds<usize>) -> Self—pub fn slice_ref(self: &Self, subset: &[u8]) -> Self—pub fn split_off(self: &mut Self, at: usize) -> Self—pub fn split_to(self: &mut Self, at: usize) -> Self—pub fn truncate(self: &mut Self, len: usize)—pub fn try_into_mut(self: Self) -> Result<BytesMut, Bytes>—impl BytesMut
pub fn capacity(self: &Self) -> usize—pub fn clear(self: &mut Self)—pub fn extend_from_slice(self: &mut Self, extend: &[u8])—pub fn extend_from_within<impl core::ops::RangeBounds<usize>: core::ops::RangeBounds<usize>>(self: &mut Self, range: impl core::ops::RangeBounds<usize>)—pub fn freeze(self: Self) -> Bytes—pub fn is_empty(self: &Self) -> bool—pub fn len(self: &Self) -> usize—pub fn reserve(self: &mut Self, additional: usize)—pub fn resize(self: &mut Self, new_len: usize, value: u8)—pub unsafe fn set_len(self: &mut Self, len: usize)—pub fn spare_capacity_mut(self: &mut Self) -> &mut [MaybeUninit<u8>]—pub fn split(self: &mut Self) -> BytesMut—pub fn split_off(self: &mut Self, at: usize) -> BytesMut—pub fn split_to(self: &mut Self, at: usize) -> BytesMut—pub fn truncate(self: &mut Self, len: usize)—pub fn try_reclaim(self: &mut Self, additional: usize) -> bool—pub fn try_unsplit(self: &mut Self, other: BytesMut) -> Result<(), BytesMut>—pub fn unsplit(self: &mut Self, other: BytesMut)—impl buf::Chain<T, U>
pub fn first_mut(self: &mut Self) -> &mut T—pub fn first_ref(self: &Self) -> &T—pub fn into_inner(self: Self) -> (T, U)—pub fn last_mut(self: &mut Self) -> &mut U—pub fn last_ref(self: &Self) -> &U—impl buf::IntoIter<T>
pub fn get_mut(self: &mut Self) -> &mut T—pub fn get_ref(self: &Self) -> &T—pub fn into_inner(self: Self) -> T—impl buf::Limit<T>
pub fn get_mut(self: &mut Self) -> &mut T—pub fn get_ref(self: &Self) -> &T—pub fn into_inner(self: Self) -> T—pub fn limit(self: &Self) -> usize—pub fn set_limit(self: &mut Self, lim: usize)—impl buf::Reader<B>
pub fn get_mut(self: &mut Self) -> &mut B—pub fn get_ref(self: &Self) -> &B—pub fn into_inner(self: Self) -> B—impl buf::Take<T>
pub fn into_inner(self: Self) -> T1 claimimpl buf::UninitSlice
pub fn as_mut_ptr(self: &mut Self) -> *mut u8—pub unsafe fn as_uninit_slice_mut(self: &mut Self) -> &mut [MaybeUninit<u8>]—pub fn copy_from_slice(self: &mut Self, src: &[u8])—pub fn len(self: &Self) -> usize—pub fn write_byte(self: &mut Self, index: usize, byte: u8)—impl buf::Writer<B>
pub fn get_mut(self: &mut Self) -> &mut B—pub fn get_ref(self: &Self) -> &B—pub fn into_inner(self: Self) -> B—Traits
trait Buf
pub fn advance(self: &mut Self, cnt: usize)—pub fn chain<U: Buf>(self: Self, next: U) -> Chain<Self, U> where Self: Sized—pub fn chunk(self: &Self) -> &[u8]—pub fn chunks_vectored<'a>(self: &'a Self, dst: &mut [IoSlice<'a>]) -> usize—pub fn copy_to_bytes(self: &mut Self, len: usize) -> crate::Bytes—pub fn copy_to_slice(self: &mut Self, dst: &mut [u8])—pub fn get_f32(self: &mut Self) -> f32—pub fn get_f32_le(self: &mut Self) -> f32—pub fn get_f32_ne(self: &mut Self) -> f32—pub fn get_f64(self: &mut Self) -> f64—pub fn get_f64_le(self: &mut Self) -> f64—pub fn get_f64_ne(self: &mut Self) -> f64—pub fn get_i128(self: &mut Self) -> i128—pub fn get_i128_le(self: &mut Self) -> i128—pub fn get_i128_ne(self: &mut Self) -> i128—pub fn get_i16(self: &mut Self) -> i16—pub fn get_i16_le(self: &mut Self) -> i16—pub fn get_i16_ne(self: &mut Self) -> i16—pub fn get_i32(self: &mut Self) -> i32—pub fn get_i32_le(self: &mut Self) -> i32—pub fn get_i32_ne(self: &mut Self) -> i32—pub fn get_i64(self: &mut Self) -> i64—pub fn get_i64_le(self: &mut Self) -> i64—pub fn get_i64_ne(self: &mut Self) -> i64—pub fn get_i8(self: &mut Self) -> i8—pub fn get_int(self: &mut Self, nbytes: usize) -> i64—pub fn get_int_le(self: &mut Self, nbytes: usize) -> i64—pub fn get_int_ne(self: &mut Self, nbytes: usize) -> i64—pub fn get_u128(self: &mut Self) -> u128—pub fn get_u128_le(self: &mut Self) -> u128—pub fn get_u128_ne(self: &mut Self) -> u128—pub fn get_u16(self: &mut Self) -> u16—pub fn get_u16_le(self: &mut Self) -> u16—pub fn get_u16_ne(self: &mut Self) -> u16—pub fn get_u32(self: &mut Self) -> u32—pub fn get_u32_le(self: &mut Self) -> u32—pub fn get_u32_ne(self: &mut Self) -> u32—pub fn get_u64(self: &mut Self) -> u64—pub fn get_u64_le(self: &mut Self) -> u64—pub fn get_u64_ne(self: &mut Self) -> u64—pub fn get_u8(self: &mut Self) -> u8—pub fn get_uint(self: &mut Self, nbytes: usize) -> u64—pub fn get_uint_le(self: &mut Self, nbytes: usize) -> u64—pub fn get_uint_ne(self: &mut Self, nbytes: usize) -> u64—pub fn has_remaining(self: &Self) -> bool—pub fn reader(self: Self) -> Reader<Self> where Self: Sized—pub fn remaining(self: &Self) -> usize—pub fn take(self: Self, limit: usize) -> Take<Self> where Self: Sized—pub fn try_copy_to_slice(self: &mut Self, dst: &mut [u8]) -> Result<(), TryGetError>—pub fn try_get_f32(self: &mut Self) -> Result<f32, TryGetError>—pub fn try_get_f32_le(self: &mut Self) -> Result<f32, TryGetError>—pub fn try_get_f32_ne(self: &mut Self) -> Result<f32, TryGetError>—pub fn try_get_f64(self: &mut Self) -> Result<f64, TryGetError>—pub fn try_get_f64_le(self: &mut Self) -> Result<f64, TryGetError>—pub fn try_get_f64_ne(self: &mut Self) -> Result<f64, TryGetError>—pub fn try_get_i128(self: &mut Self) -> Result<i128, TryGetError>—pub fn try_get_i128_le(self: &mut Self) -> Result<i128, TryGetError>—pub fn try_get_i128_ne(self: &mut Self) -> Result<i128, TryGetError>—pub fn try_get_i16(self: &mut Self) -> Result<i16, TryGetError>—pub fn try_get_i16_le(self: &mut Self) -> Result<i16, TryGetError>—pub fn try_get_i16_ne(self: &mut Self) -> Result<i16, TryGetError>—pub fn try_get_i32(self: &mut Self) -> Result<i32, TryGetError>—pub fn try_get_i32_le(self: &mut Self) -> Result<i32, TryGetError>—pub fn try_get_i32_ne(self: &mut Self) -> Result<i32, TryGetError>—pub fn try_get_i64(self: &mut Self) -> Result<i64, TryGetError>—pub fn try_get_i64_le(self: &mut Self) -> Result<i64, TryGetError>—pub fn try_get_i64_ne(self: &mut Self) -> Result<i64, TryGetError>—pub fn try_get_i8(self: &mut Self) -> Result<i8, TryGetError>—pub fn try_get_int(self: &mut Self, nbytes: usize) -> Result<i64, TryGetError>1 findingpub fn try_get_int_le(self: &mut Self, nbytes: usize) -> Result<i64, TryGetError>1 findingpub fn try_get_int_ne(self: &mut Self, nbytes: usize) -> Result<i64, TryGetError>1 findingpub fn try_get_u128(self: &mut Self) -> Result<u128, TryGetError>—pub fn try_get_u128_le(self: &mut Self) -> Result<u128, TryGetError>—pub fn try_get_u128_ne(self: &mut Self) -> Result<u128, TryGetError>—pub fn try_get_u16(self: &mut Self) -> Result<u16, TryGetError>—pub fn try_get_u16_le(self: &mut Self) -> Result<u16, TryGetError>—pub fn try_get_u16_ne(self: &mut Self) -> Result<u16, TryGetError>—pub fn try_get_u32(self: &mut Self) -> Result<u32, TryGetError>—pub fn try_get_u32_le(self: &mut Self) -> Result<u32, TryGetError>—pub fn try_get_u32_ne(self: &mut Self) -> Result<u32, TryGetError>—pub fn try_get_u64(self: &mut Self) -> Result<u64, TryGetError>—pub fn try_get_u64_le(self: &mut Self) -> Result<u64, TryGetError>—pub fn try_get_u64_ne(self: &mut Self) -> Result<u64, TryGetError>—pub fn try_get_u8(self: &mut Self) -> Result<u8, TryGetError>—pub fn try_get_uint(self: &mut Self, nbytes: usize) -> Result<u64, TryGetError>—pub fn try_get_uint_le(self: &mut Self, nbytes: usize) -> Result<u64, TryGetError>—pub fn try_get_uint_ne(self: &mut Self, nbytes: usize) -> Result<u64, TryGetError>—trait BufMut
pub unsafe fn advance_mut(self: &mut Self, cnt: usize)—pub fn chain_mut<U: BufMut>(self: Self, next: U) -> Chain<Self, U> where Self: Sized—pub fn chunk_mut(self: &mut Self) -> &mut UninitSlice—pub fn has_remaining_mut(self: &Self) -> bool—pub fn limit(self: Self, limit: usize) -> Limit<Self> where Self: Sized—pub fn put<T: super::Buf>(self: &mut Self, src: T) where Self: Sized—pub fn put_bytes(self: &mut Self, val: u8, cnt: usize)—pub fn put_f32(self: &mut Self, n: f32)—pub fn put_f32_le(self: &mut Self, n: f32)—pub fn put_f32_ne(self: &mut Self, n: f32)—pub fn put_f64(self: &mut Self, n: f64)—pub fn put_f64_le(self: &mut Self, n: f64)—pub fn put_f64_ne(self: &mut Self, n: f64)—pub fn put_i128(self: &mut Self, n: i128)—pub fn put_i128_le(self: &mut Self, n: i128)—pub fn put_i128_ne(self: &mut Self, n: i128)—pub fn put_i16(self: &mut Self, n: i16)—pub fn put_i16_le(self: &mut Self, n: i16)—pub fn put_i16_ne(self: &mut Self, n: i16)—pub fn put_i32(self: &mut Self, n: i32)—pub fn put_i32_le(self: &mut Self, n: i32)—pub fn put_i32_ne(self: &mut Self, n: i32)—pub fn put_i64(self: &mut Self, n: i64)—pub fn put_i64_le(self: &mut Self, n: i64)—pub fn put_i64_ne(self: &mut Self, n: i64)—pub fn put_i8(self: &mut Self, n: i8)—pub fn put_int(self: &mut Self, n: i64, nbytes: usize)—pub fn put_int_le(self: &mut Self, n: i64, nbytes: usize)—pub fn put_int_ne(self: &mut Self, n: i64, nbytes: usize)—pub fn put_slice(self: &mut Self, src: &[u8])—pub fn put_u128(self: &mut Self, n: u128)—pub fn put_u128_le(self: &mut Self, n: u128)—pub fn put_u128_ne(self: &mut Self, n: u128)—pub fn put_u16(self: &mut Self, n: u16)—pub fn put_u16_le(self: &mut Self, n: u16)—pub fn put_u16_ne(self: &mut Self, n: u16)—pub fn put_u32(self: &mut Self, n: u32)—pub fn put_u32_le(self: &mut Self, n: u32)—pub fn put_u32_ne(self: &mut Self, n: u32)—pub fn put_u64(self: &mut Self, n: u64)—pub fn put_u64_le(self: &mut Self, n: u64)—pub fn put_u64_ne(self: &mut Self, n: u64)—pub fn put_u8(self: &mut Self, n: u8)—pub fn put_uint(self: &mut Self, n: u64, nbytes: usize)—pub fn put_uint_le(self: &mut Self, n: u64, nbytes: usize)—pub fn put_uint_ne(self: &mut Self, n: u64, nbytes: usize)—pub fn remaining_mut(self: &Self) -> usize—pub fn writer(self: Self) -> Writer<Self> where Self: Sized—trait buf::Buf
pub fn advance(self: &mut Self, cnt: usize)—pub fn chain<U: Buf>(self: Self, next: U) -> Chain<Self, U> where Self: Sized—pub fn chunk(self: &Self) -> &[u8]—pub fn chunks_vectored<'a>(self: &'a Self, dst: &mut [IoSlice<'a>]) -> usize—pub fn copy_to_bytes(self: &mut Self, len: usize) -> crate::Bytes—pub fn copy_to_slice(self: &mut Self, dst: &mut [u8])—pub fn get_f32(self: &mut Self) -> f32—pub fn get_f32_le(self: &mut Self) -> f32—pub fn get_f32_ne(self: &mut Self) -> f32—pub fn get_f64(self: &mut Self) -> f64—pub fn get_f64_le(self: &mut Self) -> f64—pub fn get_f64_ne(self: &mut Self) -> f64—pub fn get_i128(self: &mut Self) -> i128—pub fn get_i128_le(self: &mut Self) -> i128—pub fn get_i128_ne(self: &mut Self) -> i128—pub fn get_i16(self: &mut Self) -> i16—pub fn get_i16_le(self: &mut Self) -> i16—pub fn get_i16_ne(self: &mut Self) -> i16—pub fn get_i32(self: &mut Self) -> i32—pub fn get_i32_le(self: &mut Self) -> i32—pub fn get_i32_ne(self: &mut Self) -> i32—pub fn get_i64(self: &mut Self) -> i64—pub fn get_i64_le(self: &mut Self) -> i64—pub fn get_i64_ne(self: &mut Self) -> i64—pub fn get_i8(self: &mut Self) -> i8—pub fn get_int(self: &mut Self, nbytes: usize) -> i64—pub fn get_int_le(self: &mut Self, nbytes: usize) -> i64—pub fn get_int_ne(self: &mut Self, nbytes: usize) -> i64—pub fn get_u128(self: &mut Self) -> u128—pub fn get_u128_le(self: &mut Self) -> u128—pub fn get_u128_ne(self: &mut Self) -> u128—pub fn get_u16(self: &mut Self) -> u16—pub fn get_u16_le(self: &mut Self) -> u16—pub fn get_u16_ne(self: &mut Self) -> u16—pub fn get_u32(self: &mut Self) -> u32—pub fn get_u32_le(self: &mut Self) -> u32—pub fn get_u32_ne(self: &mut Self) -> u32—pub fn get_u64(self: &mut Self) -> u64—pub fn get_u64_le(self: &mut Self) -> u64—pub fn get_u64_ne(self: &mut Self) -> u64—pub fn get_u8(self: &mut Self) -> u8—pub fn get_uint(self: &mut Self, nbytes: usize) -> u64—pub fn get_uint_le(self: &mut Self, nbytes: usize) -> u64—pub fn get_uint_ne(self: &mut Self, nbytes: usize) -> u64—pub fn has_remaining(self: &Self) -> bool—pub fn reader(self: Self) -> Reader<Self> where Self: Sized—pub fn remaining(self: &Self) -> usize—pub fn take(self: Self, limit: usize) -> Take<Self> where Self: Sized—pub fn try_copy_to_slice(self: &mut Self, dst: &mut [u8]) -> Result<(), TryGetError>—pub fn try_get_f32(self: &mut Self) -> Result<f32, TryGetError>—pub fn try_get_f32_le(self: &mut Self) -> Result<f32, TryGetError>—pub fn try_get_f32_ne(self: &mut Self) -> Result<f32, TryGetError>—pub fn try_get_f64(self: &mut Self) -> Result<f64, TryGetError>—pub fn try_get_f64_le(self: &mut Self) -> Result<f64, TryGetError>—pub fn try_get_f64_ne(self: &mut Self) -> Result<f64, TryGetError>—pub fn try_get_i128(self: &mut Self) -> Result<i128, TryGetError>—pub fn try_get_i128_le(self: &mut Self) -> Result<i128, TryGetError>—pub fn try_get_i128_ne(self: &mut Self) -> Result<i128, TryGetError>—pub fn try_get_i16(self: &mut Self) -> Result<i16, TryGetError>—pub fn try_get_i16_le(self: &mut Self) -> Result<i16, TryGetError>—pub fn try_get_i16_ne(self: &mut Self) -> Result<i16, TryGetError>—pub fn try_get_i32(self: &mut Self) -> Result<i32, TryGetError>—pub fn try_get_i32_le(self: &mut Self) -> Result<i32, TryGetError>—pub fn try_get_i32_ne(self: &mut Self) -> Result<i32, TryGetError>—pub fn try_get_i64(self: &mut Self) -> Result<i64, TryGetError>—pub fn try_get_i64_le(self: &mut Self) -> Result<i64, TryGetError>—pub fn try_get_i64_ne(self: &mut Self) -> Result<i64, TryGetError>—pub fn try_get_i8(self: &mut Self) -> Result<i8, TryGetError>—pub fn try_get_int(self: &mut Self, nbytes: usize) -> Result<i64, TryGetError>—pub fn try_get_int_le(self: &mut Self, nbytes: usize) -> Result<i64, TryGetError>—pub fn try_get_int_ne(self: &mut Self, nbytes: usize) -> Result<i64, TryGetError>—pub fn try_get_u128(self: &mut Self) -> Result<u128, TryGetError>—pub fn try_get_u128_le(self: &mut Self) -> Result<u128, TryGetError>—pub fn try_get_u128_ne(self: &mut Self) -> Result<u128, TryGetError>—pub fn try_get_u16(self: &mut Self) -> Result<u16, TryGetError>—pub fn try_get_u16_le(self: &mut Self) -> Result<u16, TryGetError>—pub fn try_get_u16_ne(self: &mut Self) -> Result<u16, TryGetError>—pub fn try_get_u32(self: &mut Self) -> Result<u32, TryGetError>—pub fn try_get_u32_le(self: &mut Self) -> Result<u32, TryGetError>—pub fn try_get_u32_ne(self: &mut Self) -> Result<u32, TryGetError>—pub fn try_get_u64(self: &mut Self) -> Result<u64, TryGetError>—pub fn try_get_u64_le(self: &mut Self) -> Result<u64, TryGetError>—pub fn try_get_u64_ne(self: &mut Self) -> Result<u64, TryGetError>—pub fn try_get_u8(self: &mut Self) -> Result<u8, TryGetError>—pub fn try_get_uint(self: &mut Self, nbytes: usize) -> Result<u64, TryGetError>—pub fn try_get_uint_le(self: &mut Self, nbytes: usize) -> Result<u64, TryGetError>—pub fn try_get_uint_ne(self: &mut Self, nbytes: usize) -> Result<u64, TryGetError>—trait buf::BufMut
pub unsafe fn advance_mut(self: &mut Self, cnt: usize)—pub fn chain_mut<U: BufMut>(self: Self, next: U) -> Chain<Self, U> where Self: Sized—pub fn chunk_mut(self: &mut Self) -> &mut UninitSlice—pub fn has_remaining_mut(self: &Self) -> bool—pub fn limit(self: Self, limit: usize) -> Limit<Self> where Self: Sized—pub fn put<T: super::Buf>(self: &mut Self, src: T) where Self: Sized—pub fn put_bytes(self: &mut Self, val: u8, cnt: usize)—pub fn put_f32(self: &mut Self, n: f32)—pub fn put_f32_le(self: &mut Self, n: f32)—pub fn put_f32_ne(self: &mut Self, n: f32)—pub fn put_f64(self: &mut Self, n: f64)—pub fn put_f64_le(self: &mut Self, n: f64)—pub fn put_f64_ne(self: &mut Self, n: f64)—pub fn put_i128(self: &mut Self, n: i128)—pub fn put_i128_le(self: &mut Self, n: i128)—pub fn put_i128_ne(self: &mut Self, n: i128)—pub fn put_i16(self: &mut Self, n: i16)—pub fn put_i16_le(self: &mut Self, n: i16)—pub fn put_i16_ne(self: &mut Self, n: i16)—pub fn put_i32(self: &mut Self, n: i32)—pub fn put_i32_le(self: &mut Self, n: i32)—pub fn put_i32_ne(self: &mut Self, n: i32)—pub fn put_i64(self: &mut Self, n: i64)—pub fn put_i64_le(self: &mut Self, n: i64)—pub fn put_i64_ne(self: &mut Self, n: i64)—pub fn put_i8(self: &mut Self, n: i8)—pub fn put_int(self: &mut Self, n: i64, nbytes: usize)—pub fn put_int_le(self: &mut Self, n: i64, nbytes: usize)—pub fn put_int_ne(self: &mut Self, n: i64, nbytes: usize)—pub fn put_slice(self: &mut Self, src: &[u8])—pub fn put_u128(self: &mut Self, n: u128)—pub fn put_u128_le(self: &mut Self, n: u128)—pub fn put_u128_ne(self: &mut Self, n: u128)—pub fn put_u16(self: &mut Self, n: u16)—pub fn put_u16_le(self: &mut Self, n: u16)—pub fn put_u16_ne(self: &mut Self, n: u16)—pub fn put_u32(self: &mut Self, n: u32)—pub fn put_u32_le(self: &mut Self, n: u32)—pub fn put_u32_ne(self: &mut Self, n: u32)—pub fn put_u64(self: &mut Self, n: u64)—pub fn put_u64_le(self: &mut Self, n: u64)—pub fn put_u64_ne(self: &mut Self, n: u64)—pub fn put_u8(self: &mut Self, n: u8)—pub fn put_uint(self: &mut Self, n: u64, nbytes: usize)—pub fn put_uint_le(self: &mut Self, n: u64, nbytes: usize)—pub fn put_uint_ne(self: &mut Self, n: u64, nbytes: usize)—pub fn remaining_mut(self: &Self) -> usize—pub fn writer(self: Self) -> Writer<Self> where Self: Sized—Trait implementations
impl alloc::io::buf_read::BufRead for buf::Reader<B>
pub fn consume(self: &mut Self, amt: usize)—pub fn fill_buf(self: &mut Self) -> io::Result<&[u8]>—impl alloc::io::read::Read for buf::Reader<B>
pub fn read(self: &mut Self, dst: &mut [u8]) -> io::Result<usize>—impl bytes::Buf for …
fn advance9 implementations—
fn chain9 implementations—
fn chunk9 implementations—
fn chunks_vectored9 implementations—
fn copy_to_bytes9 implementations—
fn copy_to_slice9 implementations—
fn get_f329 implementations—
fn get_f32_le9 implementations—
fn get_f32_ne9 implementations—
fn get_f649 implementations—
fn get_f64_le9 implementations—
fn get_f64_ne9 implementations—
fn get_i1289 implementations—
fn get_i128_le9 implementations—
fn get_i128_ne9 implementations—
fn get_i169 implementations—
fn get_i16_le9 implementations—
fn get_i16_ne9 implementations—
fn get_i329 implementations—
fn get_i32_le9 implementations—
fn get_i32_ne9 implementations—
fn get_i649 implementations—
fn get_i64_le9 implementations—
fn get_i64_ne9 implementations—
fn get_i89 implementations—
fn get_int9 implementations—
fn get_int_le9 implementations—
fn get_int_ne9 implementations—
fn get_u1289 implementations—
fn get_u128_le9 implementations—
fn get_u128_ne9 implementations—
fn get_u169 implementations—
fn get_u16_le9 implementations—
fn get_u16_ne9 implementations—
fn get_u329 implementations—
fn get_u32_le9 implementations—
fn get_u32_ne9 implementations—
fn get_u649 implementations—
fn get_u64_le9 implementations—
fn get_u64_ne9 implementations—
fn get_u89 implementations—
fn get_uint9 implementations—
fn get_uint_le9 implementations—
fn get_uint_ne9 implementations—
fn has_remaining9 implementations—
fn reader9 implementations—
fn remaining9 implementations—
fn take9 implementations—
fn try_copy_to_slice9 implementations—
fn try_get_f329 implementations—
fn try_get_f32_le9 implementations—
fn try_get_f32_ne9 implementations—
fn try_get_f649 implementations—
fn try_get_f64_le9 implementations—
fn try_get_f64_ne9 implementations—
fn try_get_i1289 implementations—
fn try_get_i128_le9 implementations—
fn try_get_i128_ne9 implementations—
fn try_get_i169 implementations—
fn try_get_i16_le9 implementations—
fn try_get_i16_ne9 implementations—
fn try_get_i329 implementations—
fn try_get_i32_le9 implementations—
fn try_get_i32_ne9 implementations—
fn try_get_i649 implementations—
fn try_get_i64_le9 implementations—
fn try_get_i64_ne9 implementations—
fn try_get_i89 implementations—
fn try_get_int9 implementations—
fn try_get_int_le9 implementations—
fn try_get_int_ne9 implementations—
fn try_get_u1289 implementations—
fn try_get_u128_le9 implementations—
fn try_get_u128_ne9 implementations—
fn try_get_u169 implementations—
fn try_get_u16_le9 implementations—
fn try_get_u16_ne9 implementations—
fn try_get_u329 implementations—
fn try_get_u32_le9 implementations—
fn try_get_u32_ne9 implementations—
fn try_get_u649 implementations—
fn try_get_u64_le9 implementations—
fn try_get_u64_ne9 implementations—
fn try_get_u89 implementations—
fn try_get_uint9 implementations—
fn try_get_uint_le9 implementations—
fn try_get_uint_ne9 implementations—
impl bytes::BufMut for …
unsafe fn advance_mut8 implementations—
unsafe impl bytes::BufMut for &mut T—
unsafe impl bytes::BufMut for &mut [u8]—
unsafe impl bytes::BufMut for BytesMut—
fn chain_mut8 implementations—
fn chunk_mut8 implementations—
fn has_remaining_mut8 implementations—
fn limit8 implementations—
fn put8 implementations—
fn put_bytes8 implementations—
fn put_f328 implementations—
fn put_f32_le8 implementations—
fn put_f32_ne8 implementations—
fn put_f648 implementations—
fn put_f64_le8 implementations—
fn put_f64_ne8 implementations—
fn put_i1288 implementations—
fn put_i128_le8 implementations—
fn put_i128_ne8 implementations—
fn put_i168 implementations—
fn put_i16_le8 implementations—
fn put_i16_ne8 implementations—
fn put_i328 implementations—
fn put_i32_le8 implementations—
fn put_i32_ne8 implementations—
fn put_i648 implementations—
fn put_i64_le8 implementations—
fn put_i64_ne8 implementations—
fn put_i88 implementations—
fn put_int8 implementations—
fn put_int_le8 implementations—
fn put_int_ne8 implementations—
fn put_slice8 implementations—
fn put_u1288 implementations—
fn put_u128_le8 implementations—
fn put_u128_ne8 implementations—
fn put_u168 implementations—
fn put_u16_le8 implementations—
fn put_u16_ne8 implementations—
fn put_u328 implementations—
fn put_u32_le8 implementations—
fn put_u32_ne8 implementations—
fn put_u648 implementations—
fn put_u64_le8 implementations—
fn put_u64_ne8 implementations—
fn put_u88 implementations—
fn put_uint8 implementations—
fn put_uint_le8 implementations—
fn put_uint_ne8 implementations—
fn remaining_mut8 implementations—
fn writer8 implementations—
impl bytes::buf::Buf for …
fn advance9 implementations—
fn chain9 implementations—
fn chunk9 implementations—
fn chunks_vectored9 implementations—
fn copy_to_bytes9 implementations—
fn copy_to_slice9 implementations—
fn get_f329 implementations—
fn get_f32_le9 implementations—
fn get_f32_ne9 implementations—
fn get_f649 implementations—
fn get_f64_le9 implementations—
fn get_f64_ne9 implementations—
fn get_i1289 implementations—
fn get_i128_le9 implementations—
fn get_i128_ne9 implementations—
fn get_i169 implementations—
fn get_i16_le9 implementations—
fn get_i16_ne9 implementations—
fn get_i329 implementations—
fn get_i32_le9 implementations—
fn get_i32_ne9 implementations—
fn get_i649 implementations—
fn get_i64_le9 implementations—
fn get_i64_ne9 implementations—
fn get_i89 implementations—
fn get_int9 implementations—
fn get_int_le9 implementations—
fn get_int_ne9 implementations—
fn get_u1289 implementations—
fn get_u128_le9 implementations—
fn get_u128_ne9 implementations—
fn get_u169 implementations—
fn get_u16_le9 implementations—
fn get_u16_ne9 implementations—
fn get_u329 implementations—
fn get_u32_le9 implementations—
fn get_u32_ne9 implementations—
fn get_u649 implementations—
fn get_u64_le9 implementations—
fn get_u64_ne9 implementations—
fn get_u89 implementations—
fn get_uint9 implementations—
fn get_uint_le9 implementations—
fn get_uint_ne9 implementations—
fn has_remaining9 implementations—
fn reader9 implementations—
fn remaining9 implementations—
fn take9 implementations—
fn try_copy_to_slice9 implementations—
fn try_get_f329 implementations—
fn try_get_f32_le9 implementations—
fn try_get_f32_ne9 implementations—
fn try_get_f649 implementations—
fn try_get_f64_le9 implementations—
fn try_get_f64_ne9 implementations—
fn try_get_i1289 implementations—
fn try_get_i128_le9 implementations—
fn try_get_i128_ne9 implementations—
fn try_get_i169 implementations—
fn try_get_i16_le9 implementations—
fn try_get_i16_ne9 implementations—
fn try_get_i329 implementations—
fn try_get_i32_le9 implementations—
fn try_get_i32_ne9 implementations—
fn try_get_i649 implementations—
fn try_get_i64_le9 implementations—
fn try_get_i64_ne9 implementations—
fn try_get_i89 implementations—
fn try_get_int9 implementations—
fn try_get_int_le9 implementations—
fn try_get_int_ne9 implementations—
fn try_get_u1289 implementations—
fn try_get_u128_le9 implementations—
fn try_get_u128_ne9 implementations—
fn try_get_u169 implementations—
fn try_get_u16_le9 implementations—
fn try_get_u16_ne9 implementations—
fn try_get_u329 implementations—
fn try_get_u32_le9 implementations—
fn try_get_u32_ne9 implementations—
fn try_get_u649 implementations—
fn try_get_u64_le9 implementations—
fn try_get_u64_ne9 implementations—
fn try_get_u89 implementations—
fn try_get_uint9 implementations—
fn try_get_uint_le9 implementations—
fn try_get_uint_ne9 implementations—
impl bytes::buf::BufMut for …
unsafe fn advance_mut8 implementations—
fn chain_mut8 implementations—
fn chunk_mut8 implementations—
fn has_remaining_mut8 implementations—
fn limit8 implementations—
fn put8 implementations—
fn put_bytes8 implementations—
fn put_f328 implementations—
fn put_f32_le8 implementations—
fn put_f32_ne8 implementations—
fn put_f648 implementations—
fn put_f64_le8 implementations—
fn put_f64_ne8 implementations—
fn put_i1288 implementations—
fn put_i128_le8 implementations—
fn put_i128_ne8 implementations—
fn put_i168 implementations—
fn put_i16_le8 implementations—
fn put_i16_ne8 implementations—
fn put_i328 implementations—
fn put_i32_le8 implementations—
fn put_i32_ne8 implementations—
fn put_i648 implementations—
fn put_i64_le8 implementations—
fn put_i64_ne8 implementations—
fn put_i88 implementations—
fn put_int8 implementations—
fn put_int_le8 implementations—
fn put_int_ne8 implementations—
fn put_slice8 implementations—
fn put_u1288 implementations—
fn put_u128_le8 implementations—
fn put_u128_ne8 implementations—
fn put_u168 implementations—
fn put_u16_le8 implementations—
fn put_u16_ne8 implementations—
fn put_u328 implementations—
fn put_u32_le8 implementations—
fn put_u32_ne8 implementations—
fn put_u648 implementations—
fn put_u64_le8 implementations—
fn put_u64_ne8 implementations—
fn put_u88 implementations—
fn put_uint8 implementations—
fn put_uint_le8 implementations—
fn put_uint_ne8 implementations—
fn remaining_mut8 implementations—
fn writer8 implementations—
impl core::borrow::Borrow<[u8]> for …
fn borrow2 implementations—
impl core::borrow::BorrowMut<[u8]> for BytesMut
pub fn borrow_mut(self: &mut Self) -> &mut [u8]—impl core::clone::Clone for …
fn clone2 implementations—
impl core::cmp::Ord for …
fn cmp2 implementations—
impl core::cmp::PartialEq for …
impl core::cmp::PartialEq<&'a T> for …
fn eq2 implementations—
impl core::cmp::PartialEq<[u8]> for …
fn eq2 implementations—
impl core::cmp::PartialEq<alloc::string::String> for …
impl core::cmp::PartialEq<alloc::vec::Vec<u8>> for …
impl core::cmp::PartialEq<bytes::Bytes> for BytesMut
impl core::cmp::PartialEq<bytes::BytesMut> for Bytes
impl core::cmp::PartialEq<str> for …
fn eq2 implementations—
impl core::cmp::PartialOrd for …
fn partial_cmp2 implementations—
impl core::cmp::PartialOrd<&'a T> for …
fn partial_cmp2 implementations—
impl core::cmp::PartialOrd<[u8]> for …
fn partial_cmp2 implementations—
impl core::cmp::PartialOrd<alloc::string::String> for …
fn partial_cmp2 implementations—
impl core::cmp::PartialOrd<alloc::vec::Vec<u8>> for …
fn partial_cmp2 implementations—
impl core::cmp::PartialOrd<bytes::Bytes> for &str
pub fn partial_cmp(self: &Self, other: &Bytes) -> Option<cmp::Ordering>—impl core::cmp::PartialOrd<bytes::BytesMut> for &str
pub fn partial_cmp(self: &Self, other: &BytesMut) -> Option<cmp::Ordering>—impl core::cmp::PartialOrd<str> for …
fn partial_cmp2 implementations—
impl core::convert::AsMut<[u8]> for BytesMut
pub fn as_mut(self: &mut Self) -> &mut [u8]—impl core::convert::AsRef<[u8]> for …
fn as_ref2 implementations—
impl core::convert::From<&'a [u8]> for BytesMut
pub fn from(src: &'a [u8]) -> BytesMut—impl core::convert::From<&'a mut [core::mem::maybe_uninit::MaybeUninit<u8>]> for &'a mut bytes::buf::UninitSlice
pub fn from(slice: &'a mut [MaybeUninit<u8>]) -> Self—impl core::convert::From<&'a mut [u8]> for &'a mut bytes::buf::UninitSlice
pub fn from(slice: &'a mut [u8]) -> Self—impl core::convert::From<&'a str> for BytesMut
pub fn from(src: &'a str) -> BytesMut—impl core::convert::From<&'static [u8]> for Bytes
pub fn from(slice: &'static [u8]) -> Bytes—impl core::convert::From<&'static str> for Bytes
pub fn from(slice: &'static str) -> Bytes—impl core::convert::From<alloc::boxed::Box<[u8]>> for Bytes
pub fn from(slice: Box<[u8]>) -> Bytes—impl core::convert::From<alloc::string::String> for Bytes
pub fn from(s: String) -> Bytes—impl core::convert::From<alloc::vec::Vec<u8>> for Bytes
pub fn from(vec: Vec<u8>) -> Bytes—impl core::convert::From<bytes::Bytes> for …
impl core::convert::From<bytes::BytesMut> for …
impl core::convert::From<bytes::TryGetError> for core::io::error::Error
pub fn from(error: TryGetError) -> Self—impl core::default::Default for …
fn default2 implementations—
impl core::fmt::Debug for …
fn fmt10 implementations—
impl core::fmt::Display for TryGetError
pub fn fmt(self: &Self, f: &mut core::fmt::Formatter<'_>) -> Result<(), core::fmt::Error>—impl core::fmt::LowerHex for …
fn fmt2 implementations—
impl core::fmt::UpperHex for …
fn fmt2 implementations—
impl core::fmt::Write for BytesMut
pub fn write_fmt(self: &mut Self, args: fmt::Arguments<'_>) -> fmt::Result—pub fn write_str(self: &mut Self, s: &str) -> fmt::Result—impl core::hash::Hash for …
fn hash2 implementations—
impl core::io::write::Write for buf::Writer<B>
pub fn flush(self: &mut Self) -> io::Result<()>—pub fn write(self: &mut Self, src: &[u8]) -> io::Result<usize>—impl core::iter::traits::collect::Extend<&'a u8> for BytesMut
pub fn extend<T>(self: &mut Self, iter: T) where T: IntoIterator<Item = &'a u8>—impl core::iter::traits::collect::Extend<bytes::Bytes> for BytesMut
impl core::iter::traits::collect::Extend<u8> for BytesMut
pub fn extend<T>(self: &mut Self, iter: T) where T: IntoIterator<Item = u8>—impl core::iter::traits::collect::FromIterator<&'a u8> for BytesMut
pub fn from_iter<T: IntoIterator<Item = &'a u8>>(into_iter: T) -> Self—impl core::iter::traits::collect::FromIterator<u8> for …
fn from_iter2 implementations—
impl core::iter::traits::collect::IntoIterator for …
impl core::iter::traits::iterator::Iterator for buf::IntoIter<T>
pub fn next(self: &mut Self) -> Option<u8>—pub fn size_hint(self: &Self) -> (usize, Option<usize>)—impl core::ops::deref::Deref for …
fn deref2 implementations—
impl core::ops::deref::DerefMut for BytesMut
pub fn deref_mut(self: &mut Self) -> &mut [u8]—impl core::ops::drop::Drop for …
fn drop2 implementations—
impl core::ops::index::Index<core::ops::range::Range<usize>> for buf::UninitSlice
pub fn index(self: &Self, index: Range<usize>) -> &UninitSlice—impl core::ops::index::Index<core::ops::range::RangeFrom<usize>> for buf::UninitSlice
pub fn index(self: &Self, index: RangeFrom<usize>) -> &UninitSlice—impl core::ops::index::Index<core::ops::range::RangeFull> for buf::UninitSlice
pub fn index(self: &Self, index: RangeFull) -> &UninitSlice—impl core::ops::index::Index<core::ops::range::RangeInclusive<usize>> for buf::UninitSlice
pub fn index(self: &Self, index: RangeInclusive<usize>) -> &UninitSlice—impl core::ops::index::Index<core::ops::range::RangeTo<usize>> for buf::UninitSlice
pub fn index(self: &Self, index: RangeTo<usize>) -> &UninitSlice—impl core::ops::index::Index<core::ops::range::RangeToInclusive<usize>> for buf::UninitSlice
pub fn index(self: &Self, index: RangeToInclusive<usize>) -> &UninitSlice—impl core::ops::index::IndexMut<core::ops::range::Range<usize>> for buf::UninitSlice
pub fn index_mut(self: &mut Self, index: Range<usize>) -> &mut UninitSlice—impl core::ops::index::IndexMut<core::ops::range::RangeFrom<usize>> for buf::UninitSlice
pub fn index_mut(self: &mut Self, index: RangeFrom<usize>) -> &mut UninitSlice—impl core::ops::index::IndexMut<core::ops::range::RangeFull> for buf::UninitSlice
pub fn index_mut(self: &mut Self, index: RangeFull) -> &mut UninitSlice—impl core::ops::index::IndexMut<core::ops::range::RangeInclusive<usize>> for buf::UninitSlice
pub fn index_mut(self: &mut Self, index: RangeInclusive<usize>) -> &mut UninitSlice—impl core::ops::index::IndexMut<core::ops::range::RangeTo<usize>> for buf::UninitSlice
pub fn index_mut(self: &mut Self, index: RangeTo<usize>) -> &mut UninitSlice—impl core::ops::index::IndexMut<core::ops::range::RangeToInclusive<usize>> for buf::UninitSlice
pub fn index_mut(self: &mut Self, index: RangeToInclusive<usize>) -> &mut UninitSlice—Blanket implementations
impl alloc::borrow::ToOwned for …
fn clone_into2 implementations—
fn to_owned2 implementations—
impl alloc::string::ToString for TryGetError
pub fn to_string(self: &Self) -> String—impl core::any::Any for …
fn type_id10 implementations—
impl core::borrow::Borrow<T> for …
fn borrow10 implementations—
impl core::borrow::BorrowMut<T> for …
fn borrow_mut10 implementations—
impl core::clone::CloneToUninit for …
unsafe fn clone_to_uninit2 implementations—
impl core::convert::From<T> for …
fn from9 implementations—
impl core::convert::Into<U> for …
fn into9 implementations—
impl core::convert::TryFrom<U> for …
fn try_from9 implementations—
impl core::convert::TryInto<U> for …
fn try_into9 implementations—
impl core::iter::traits::collect::IntoIterator for buf::IntoIter<T>
pub fn into_iter(self: Self) -> I—