[][src]Struct newrelic_sys::_newrelic_process_config_t

#[repr(C)]
pub struct _newrelic_process_config_t { pub daemon_socket: [c_char; 512], }

@brief Optional configuration for the underlying communication mechanism between an instrumented application and the daemon. The default is to use a UNIX-domain socket located at /tmp/.newrelic.sock. If this default works for your system, creating this configuration is not necessary.

Fields

daemon_socket: [c_char; 512]

@brief Specify the communication mechanism by setting daemon_socket to a socket name.

Domain Sockets: If you want to use UNIX domain sockets as the underlying communication mechanism, the name assigned to daemon_socket must begin with a "/", e.g., "/domain_socket".

TCP Socket: If you want to use a normal TCP socket, set daemon_socket to an integer value in the range 1-65534. This instructs the daemon to listen on a normal TCP socket on the port specified.

Abstract Socket: If you want to use an abstract socket, the name assigned to daemon_socket must begin with a "@", e.g., "@abstract_socket".

Trait Implementations

impl Copy for _newrelic_process_config_t[src]

impl Clone for _newrelic_process_config_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]