Struct grpcio_sys::grpc_op_grpc_op_data_grpc_op_recv_status_on_client [−][src]
#[repr(C)]pub struct grpc_op_grpc_op_data_grpc_op_recv_status_on_client { pub trailing_metadata: *mut grpc_metadata_array, pub status: *mut Type, pub status_details: *mut grpc_slice, pub error_string: *mut *const c_char, }
Fields
trailing_metadata: *mut grpc_metadata_array
ownership of the array is with the caller, but ownership of the elements stays with the call object (ie key, value members are owned by the call object, trailing_metadata->array is owned by the caller). After the operation completes, call grpc_metadata_array_destroy on this value, or reuse it in a future op.
status: *mut Type
status_details: *mut grpc_slice
error_string: *mut *const c_char
If this is not nullptr, it will be populated with the full fidelity error string for debugging purposes. The application is responsible for freeing the data by using gpr_free().
Trait Implementations
impl Clone for grpc_op_grpc_op_data_grpc_op_recv_status_on_client
[src]
impl Clone for grpc_op_grpc_op_data_grpc_op_recv_status_on_client
[src]fn clone(&self) -> grpc_op_grpc_op_data_grpc_op_recv_status_on_client
[src]
fn clone(&self) -> grpc_op_grpc_op_data_grpc_op_recv_status_on_client
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Copy for grpc_op_grpc_op_data_grpc_op_recv_status_on_client
[src]
Auto Trait Implementations
impl RefUnwindSafe for grpc_op_grpc_op_data_grpc_op_recv_status_on_client
impl !Send for grpc_op_grpc_op_data_grpc_op_recv_status_on_client
impl !Sync for grpc_op_grpc_op_data_grpc_op_recv_status_on_client
impl Unpin for grpc_op_grpc_op_data_grpc_op_recv_status_on_client
impl UnwindSafe for grpc_op_grpc_op_data_grpc_op_recv_status_on_client
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more