#[repr(C)]
pub struct grpc_op {
pub op: grpc_op_type,
pub flags: u32,
pub reserved: *mut c_void,
pub data: grpc_op_grpc_op_data,
}
Expand description
Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT
which has no arguments)
Operation type, as defined by grpc_op_type
Write flags bitset for grpc_begin_messages
Reserved for future usage
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.