pub enum IpcHost {
Localhost,
Ip(IpAddr),
}Expand description
The Core Agent CMD API host.
Variants§
Localhost
localhost, which is resolved when connecting, as the Datadog Agent’s own IPC clients do.
Each address localhost resolves to is tried in turn, so ADP reaches the CMD API whether the Datadog Agent
listens on IPv4 or IPv6 loopback. The name is resolved through the system resolver, which answers it from the
hosts file, so this doesn’t need a DNS server.
Ip(IpAddr)
A loopback IP address: an IPv4 address in 127.0.0.0/8, or ::1.
Trait Implementations§
impl Copy for IpcHost
impl Eq for IpcHost
impl StructuralPartialEq for IpcHost
Auto Trait Implementations§
impl Freeze for IpcHost
impl RefUnwindSafe for IpcHost
impl Send for IpcHost
impl Sync for IpcHost
impl Unpin for IpcHost
impl UnsafeUnpin for IpcHost
impl UnwindSafe for IpcHost
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Track for T
impl<T> Track for T
Source§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Instruments this type by attaching the given resource group token, returning a
Tracked wrapper. Read moreSource§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Instruments this type by attaching the current resource group, returning a
Tracked wrapper. Read more