Lines Matching defs:GrpcSlice
19 pub struct GrpcSlice(grpc_slice); struct
21 impl GrpcSlice { impl
55 pub fn from_static_slice(s: &'static [u8]) -> GrpcSlice { in from_static_slice()
63 pub fn from_static_str(s: &'static str) -> GrpcSlice { in from_static_str()
103 impl Clone for GrpcSlice { implementation
113 impl Default for GrpcSlice { implementation
120 impl Debug for GrpcSlice { implementation
126 impl Drop for GrpcSlice { implementation
134 unsafe impl Send for GrpcSlice {} implementation
135 unsafe impl Sync for GrpcSlice {} implementation
137 impl PartialEq<[u8]> for GrpcSlice { implementation
145 impl PartialEq<GrpcSlice> for GrpcSlice { implementation
155 impl From<Vec<u8>> for GrpcSlice { implementation
160 fn from(mut v: Vec<u8>) -> GrpcSlice { in from()
185 impl From<String> for GrpcSlice { implementation
187 fn from(s: String) -> GrpcSlice { in from()
195 impl From<CString> for GrpcSlice { implementation
197 fn from(s: CString) -> GrpcSlice { in from()
206 impl From<&'_ [u8]> for GrpcSlice { implementation
208 fn from(s: &'_ [u8]) -> GrpcSlice { in from()
217 impl From<&'_ str> for GrpcSlice { implementation
219 fn from(s: &'_ str) -> GrpcSlice { in from()
228 impl From<&'_ CStr> for GrpcSlice { implementation
230 fn from(s: &'_ CStr) -> GrpcSlice { in from()
273 let s = &*(s as *const GrpcSlice as *const grpc_slice as *const UnsafeCell<grpc_slice>); in from() constant