Struct datadog_logs::config::DataDogTcpConfig[][src]

pub struct DataDogTcpConfig {
    pub use_tls: bool,
    pub domain: String,
    pub non_tls_port: usize,
    pub tls_port: usize,
}

TCP specific Datadog connectivity configuration

Fields

use_tls: bool

If set to true will force TLS connction to DataDog for TCP. True by default.

domain: String

Datadog service domain without scheme or path parts of URL e.g. intake.logs.datadoghq.com.

Default value is intake.logs.datadoghq.com. However it might need to be changed for differerent geographies e.g. Europe.

non_tls_port: usize

Port for unencrypted connections to Datadog. By default it is 10514 as specified in Datadog documentation. It is possible to change it in case Datadog changes it in the future.

tls_port: usize

Port for encrypted connections. It defaults to 443.

Trait Implementations

impl Clone for DataDogTcpConfig[src]

impl Debug for DataDogTcpConfig[src]

impl Default for DataDogTcpConfig[src]

fn default() -> Self[src]

Default configuration is US default config. EU config needs to be input manually.

impl<'de> Deserialize<'de> for DataDogTcpConfig[src]

impl Serialize for DataDogTcpConfig[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.