Struct datadog_logs::config::DataDogTcpConfig [−][src]
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]
fn clone(&self) -> DataDogTcpConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for DataDogTcpConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataDogTcpConfig
[src]
impl Send for DataDogTcpConfig
[src]
impl Sync for DataDogTcpConfig
[src]
impl Unpin for DataDogTcpConfig
[src]
impl UnwindSafe for DataDogTcpConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,