Lines Matching defs:Bytes
102 pub struct Bytes { struct
112 pub clone: unsafe fn(&AtomicPtr<()>, *const u8, usize) -> Bytes, argument
124 impl Bytes { implementation
641 pub fn try_into_mut(self) -> Result<BytesMut, Bytes> { in try_into_mut() argument
655 ) -> Bytes { in with_vtable()
681 unsafe impl Send for Bytes {} implementation
682 unsafe impl Sync for Bytes {} implementation
684 impl Drop for Bytes { implementation
691 impl Clone for Bytes { implementation
693 fn clone(&self) -> Bytes { in clone()
698 impl Buf for Bytes { implementation
728 impl Deref for Bytes { implementation
737 impl AsRef<[u8]> for Bytes { implementation
744 impl hash::Hash for Bytes { implementation
753 impl Borrow<[u8]> for Bytes { implementation
759 impl IntoIterator for Bytes { implementation
768 impl<'a> IntoIterator for &'a Bytes { implementation
777 impl FromIterator<u8> for Bytes { implementation
785 impl PartialEq for Bytes { implementation
791 impl PartialOrd for Bytes { implementation
797 impl Ord for Bytes { implementation
803 impl Eq for Bytes {} implementation
805 impl PartialEq<[u8]> for Bytes { implementation
811 impl PartialOrd<[u8]> for Bytes { implementation
829 impl PartialEq<str> for Bytes { implementation
835 impl PartialOrd<str> for Bytes { implementation
853 impl PartialEq<Vec<u8>> for Bytes { implementation
859 impl PartialOrd<Vec<u8>> for Bytes { implementation
877 impl PartialEq<String> for Bytes { implementation
883 impl PartialOrd<String> for Bytes { implementation
925 impl<'a, T: ?Sized> PartialEq<&'a T> for Bytes implementation
934 impl<'a, T: ?Sized> PartialOrd<&'a T> for Bytes implementation
945 impl Default for Bytes { implementation
952 impl From<&'static [u8]> for Bytes { implementation
953 fn from(slice: &'static [u8]) -> Bytes { in from()
958 impl From<&'static str> for Bytes { implementation
959 fn from(slice: &'static str) -> Bytes { in from()
964 impl From<Vec<u8>> for Bytes { implementation
965 fn from(vec: Vec<u8>) -> Bytes { in from()
999 impl From<Box<[u8]>> for Bytes { implementation
1000 fn from(slice: Box<[u8]>) -> Bytes { in from()
1052 impl From<String> for Bytes { implementation
1053 fn from(s: String) -> Bytes { in from()
1086 unsafe fn static_clone(_: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in static_clone()
1128 unsafe fn owned_clone(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in owned_clone()
1208 unsafe fn promotable_even_clone(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in promotable_even_clone()
1303 unsafe fn promotable_odd_clone(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in promotable_odd_clone()
1388 unsafe fn shared_clone(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in shared_clone()
1477 unsafe fn shallow_clone_arc(shared: *mut Shared, ptr: *const u8, len: usize) -> Bytes { in shallow_clone_arc()
1499 ) -> Bytes { in shallow_clone_vec()