Home
last modified time | relevance | path

Searched refs:GrpcByteBuffer (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio/src/
Dbuf.rs237 pub struct GrpcByteBuffer(*mut grpc_byte_buffer); struct
239 impl GrpcByteBuffer { implementation
241 pub unsafe fn from_raw(ptr: *mut grpc_byte_buffer) -> GrpcByteBuffer { in from_raw() argument
242 GrpcByteBuffer(ptr) in from_raw()
246 impl<'a> From<&'a [GrpcSlice]> for GrpcByteBuffer { implementation
256 GrpcByteBuffer(grpc_raw_byte_buffer_create((*s).get(), len)) in from()
261 impl<'a> From<&'a GrpcSlice> for GrpcByteBuffer { implementation
266 fn from(s: &'a GrpcSlice) -> GrpcByteBuffer { in from() argument
274 GrpcByteBuffer(grpc_raw_byte_buffer_create((*s).get(), 1)) in from()
279 impl Clone for GrpcByteBuffer { implementation
[all …]
/external/rust/crates/grpcio/src/call/
Dmod.rs19 use crate::buf::{GrpcByteBuffer, GrpcByteBufferReader, GrpcSlice};
204 pub fn take_recv_message(&self) -> Option<GrpcByteBuffer> { in take_recv_message() argument
209 Some(unsafe { GrpcByteBuffer::from_raw(ptr) }) in take_recv_message()