/external/rust/crates/bytes/ |
D | CHANGELOG.md | 13 - Rename Buf/BufMut, methods to chunk/chunk_mut (#450) 23 - `BufMut` is now an `unsafe` trait (#432). 24 - `BufMut::bytes_mut()` returns `&mut UninitSlice`, a type owned by `bytes` to 27 - `Buf`/`BufMut` utility methods are moved onto the trait and `*Ext` traits are 31 - `BufMut::bytes_vectored_mut()` (#430). 47 - Fix `BufMut::advance_mut` to panic if advanced passed the capacity (#354).. 91 - `BufMut::bytes_mut` returns `&mut [MaybeUninit<u8>]` to reflect the unknown 93 - `Buf` / `BufMut` implementations for `&[u8]` and `&mut [u8]` 95 - Move `Buf` / `BufMut` "extra" functions to an extension trait (#306). 128 * impl `Buf` and `BufMut` for `Either` (#225). [all …]
|
D | README.md | 27 use bytes::{Bytes, BytesMut, Buf, BufMut};
|
/external/rust/crates/bytes/src/buf/ |
D | buf_mut.rs | 29 pub unsafe trait BufMut { trait 902 fn chain_mut<U: BufMut>(self, next: U) -> Chain<Self, U> in chain_mut() 986 unsafe impl<T: BufMut + ?Sized> BufMut for &mut T { impl 990 unsafe impl<T: BufMut + ?Sized> BufMut for Box<T> { 994 unsafe impl BufMut for &mut [u8] { impl 1014 unsafe impl BufMut for Vec<u8> { 1079 fn _assert_trait_object(_b: &dyn BufMut) {} in _assert_trait_object() argument
|
D | writer.rs | 1 use crate::BufMut; 19 impl<B: BufMut> Writer<B> { 77 impl<B: BufMut + Sized> io::Write for Writer<B> {
|
D | chain.rs | 2 use crate::{Buf, BufMut}; 175 unsafe impl<T, U> BufMut for Chain<T, U> 177 T: BufMut, 178 U: BufMut,
|
D | limit.rs | 2 use crate::BufMut; 59 unsafe impl<T: BufMut> BufMut for Limit<T> {
|
D | mod.rs | 33 pub use self::buf_mut::BufMut;
|
D | buf_impl.rs | 814 use super::BufMut; in copy_to_bytes()
|
/external/rust/crates/bytes/tests/ |
D | test_buf_mut.rs | 4 use bytes::{BufMut, BytesMut}; 79 unsafe impl BufMut for Special { in test_deref_bufmut_forwards() 99 (&mut Special as &mut dyn BufMut).put_u8(b'x'); in test_deref_bufmut_forwards() 100 (Box::new(Special) as Box<dyn BufMut>).put_u8(b'x'); in test_deref_bufmut_forwards()
|
D | test_chain.rs | 3 use bytes::{Buf, BufMut, Bytes};
|
D | test_bytes.rs | 3 use bytes::{Buf, BufMut, Bytes, BytesMut};
|
/external/rust/crates/tokio/src/io/util/ |
D | read_buf.rs | 3 use bytes::BufMut; 14 B: BufMut, in read_buf() argument 38 B: BufMut,
|
D | async_read_ext.rs | 16 use bytes::BufMut; 226 B: BufMut,
|
D | write_int.rs | 3 use bytes::BufMut; 39 BufMut::$writer(&mut &mut writer.buf[..], value);
|
/external/rust/crates/tokio/src/net/unix/datagram/ |
D | socket.rs | 14 use bytes::BufMut; 739 pub fn try_recv_buf_from<B: BufMut>(&self, buf: &mut B) -> io::Result<(usize, SocketAddr)> { 802 pub fn try_recv_buf<B: BufMut>(&self, buf: &mut B) -> io::Result<usize> {
|
/external/rust/crates/bytes/src/ |
D | lib.rs | 85 pub use crate::buf::{Buf, BufMut};
|
D | bytes_mut.rs | 19 use crate::{Buf, BufMut, Bytes}; 969 unsafe impl BufMut for BytesMut {
|
/external/rust/crates/tokio/src/net/ |
D | udp.rs | 11 use bytes::BufMut; 788 pub fn try_recv_buf<B: BufMut>(&self, buf: &mut B) -> io::Result<usize> { 852 pub fn try_recv_buf_from<B: BufMut>(&self, buf: &mut B) -> io::Result<(usize, SocketAddr)> {
|
/external/rust/crates/tokio/src/net/unix/ |
D | stream.rs | 19 use bytes::BufMut; 334 pub fn try_read_buf<B: BufMut>(&self, buf: &mut B) -> io::Result<usize> {
|
/external/rust/crates/tokio/src/net/tcp/ |
D | stream.rs | 16 use bytes::BufMut; 624 pub fn try_read_buf<B: BufMut>(&self, buf: &mut B) -> io::Result<usize> {
|
/external/rust/crates/bytes/benches/ |
D | bytes_mut.rs | 6 use bytes::{BufMut, BytesMut};
|
/external/rust/crates/protobuf/src/ |
D | buf_read_iter.rs | 11 use bytes::BufMut;
|
/external/rust/crates/tokio/ |
D | CHANGELOG.md | 442 `Buf`/`BufMut` ([#3003]). 516 - io: remove `bytes` from public API. `Buf` and `BufMut` implementation are 1062 - `read_buf` / `write_buf` for reading / writing `Buf` / `BufMut` ([#1881]).
|