• Home
  • Raw
  • Download

Lines Matching defs:Bytes

100 pub struct Bytes {  struct
110 pub clone: unsafe fn(&AtomicPtr<()>, *const u8, usize) -> Bytes, argument
119 impl Bytes { implementation
493 ) -> Bytes { in with_vtable()
519 unsafe impl Send for Bytes {} implementation
520 unsafe impl Sync for Bytes {} implementation
522 impl Drop for Bytes { implementation
529 impl Clone for Bytes { implementation
531 fn clone(&self) -> Bytes { in clone()
536 impl Buf for Bytes { implementation
561 fn copy_to_bytes(&mut self, len: usize) -> crate::Bytes { in copy_to_bytes()
572 impl Deref for Bytes { implementation
581 impl AsRef<[u8]> for Bytes { implementation
588 impl hash::Hash for Bytes { implementation
597 impl Borrow<[u8]> for Bytes { implementation
603 impl IntoIterator for Bytes { implementation
612 impl<'a> IntoIterator for &'a Bytes { implementation
621 impl FromIterator<u8> for Bytes { implementation
629 impl PartialEq for Bytes { implementation
635 impl PartialOrd for Bytes { implementation
641 impl Ord for Bytes { implementation
647 impl Eq for Bytes {} implementation
649 impl PartialEq<[u8]> for Bytes { implementation
655 impl PartialOrd<[u8]> for Bytes { implementation
673 impl PartialEq<str> for Bytes { implementation
679 impl PartialOrd<str> for Bytes { implementation
697 impl PartialEq<Vec<u8>> for Bytes { implementation
703 impl PartialOrd<Vec<u8>> for Bytes { implementation
721 impl PartialEq<String> for Bytes { implementation
727 impl PartialOrd<String> for Bytes { implementation
769 impl<'a, T: ?Sized> PartialEq<&'a T> for Bytes implementation
778 impl<'a, T: ?Sized> PartialOrd<&'a T> for Bytes implementation
789 impl Default for Bytes { implementation
796 impl From<&'static [u8]> for Bytes { implementation
797 fn from(slice: &'static [u8]) -> Bytes { in from()
802 impl From<&'static str> for Bytes { implementation
803 fn from(slice: &'static str) -> Bytes { in from()
808 impl From<Vec<u8>> for Bytes { implementation
809 fn from(vec: Vec<u8>) -> Bytes { in from()
843 impl From<Box<[u8]>> for Bytes { implementation
844 fn from(slice: Box<[u8]>) -> Bytes { in from()
874 impl From<String> for Bytes { implementation
875 fn from(s: String) -> Bytes { in from()
906 unsafe fn static_clone(_: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in static_clone()
934 unsafe fn promotable_even_clone(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in promotable_even_clone()
994 unsafe fn promotable_odd_clone(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in promotable_odd_clone()
1061 unsafe fn shared_clone(data: &AtomicPtr<()>, ptr: *const u8, len: usize) -> Bytes { in shared_clone()
1105 unsafe fn shallow_clone_arc(shared: *mut Shared, ptr: *const u8, len: usize) -> Bytes { in shallow_clone_arc()
1127 ) -> Bytes { in shallow_clone_vec()