pub struct GrpcReceiver {
pub endpoint: String,
pub max_recv_msg_size_mib: u64,
pub transport: String,
}Expand description
OTLP gRPC receiver.
Fields§
§endpoint: StringAddress the gRPC receiver listens on.
max_recv_msg_size_mib: u64Maximum inbound message size, in MiB.
transport: StringTransport the gRPC receiver binds (for example, tcp or unix).
Trait Implementations§
Source§impl Clone for GrpcReceiver
impl Clone for GrpcReceiver
Source§fn clone(&self) -> GrpcReceiver
fn clone(&self) -> GrpcReceiver
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GrpcReceiver
impl Debug for GrpcReceiver
Source§impl Default for GrpcReceiver
impl Default for GrpcReceiver
Source§fn default() -> GrpcReceiver
fn default() -> GrpcReceiver
Returns the “default value” for a type. Read more
Source§impl PartialEq for GrpcReceiver
impl PartialEq for GrpcReceiver
Source§impl Serialize for GrpcReceiver
impl Serialize for GrpcReceiver
impl StructuralPartialEq for GrpcReceiver
Auto Trait Implementations§
impl Freeze for GrpcReceiver
impl RefUnwindSafe for GrpcReceiver
impl Send for GrpcReceiver
impl Sync for GrpcReceiver
impl Unpin for GrpcReceiver
impl UnwindSafe for GrpcReceiver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more