Lines Matching defs:ByteBuf
46 pub struct ByteBuf { struct
50 impl ByteBuf { impl
92 impl Debug for ByteBuf { implementation
98 impl AsRef<[u8]> for ByteBuf { implementation
104 impl AsMut<[u8]> for ByteBuf { implementation
110 impl Deref for ByteBuf { implementation
118 impl DerefMut for ByteBuf { implementation
124 impl Borrow<Bytes> for ByteBuf { implementation
130 impl BorrowMut<Bytes> for ByteBuf { implementation
136 impl From<Vec<u8>> for ByteBuf { implementation
142 impl<Rhs> PartialEq<Rhs> for ByteBuf implementation
151 impl<Rhs> PartialOrd<Rhs> for ByteBuf implementation
160 impl Hash for ByteBuf { implementation
166 impl IntoIterator for ByteBuf { implementation
175 impl<'a> IntoIterator for &'a ByteBuf { implementation
184 impl<'a> IntoIterator for &'a mut ByteBuf { implementation
193 impl Serialize for ByteBuf { implementation
211 fn visit_seq<V>(self, mut visitor: V) -> Result<ByteBuf, V::Error> in visit_seq()
225 fn visit_bytes<E>(self, v: &[u8]) -> Result<ByteBuf, E> in visit_bytes()
232 fn visit_byte_buf<E>(self, v: Vec<u8>) -> Result<ByteBuf, E> in visit_byte_buf()
239 fn visit_str<E>(self, v: &str) -> Result<ByteBuf, E> in visit_str()
246 fn visit_string<E>(self, v: String) -> Result<ByteBuf, E> in visit_string()
254 impl<'de> Deserialize<'de> for ByteBuf { implementation
255 fn deserialize<D>(deserializer: D) -> Result<ByteBuf, D::Error> in deserialize()