Struct cernan::source::GraphiteConfig [−][src]
pub struct GraphiteConfig {
pub host: String,
pub port: u16,
pub forwards: Vec<String>,
pub config_path: Option<String>,
}Configured for the metric::Telemetry source.
Fields
host: String
The host that the source will listen on. May be an IP address or a DNS hostname.
port: u16
The port that the source will listen on.
forwards: Vec<String>
The forwards that the source will send all its Telemetry.
config_path: Option<String>
The unique name of the source in the routing topology.
Trait Implementations
impl Debug for GraphiteConfig[src]
impl Debug for GraphiteConfigfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for GraphiteConfig[src]
impl Clone for GraphiteConfigfn clone(&self) -> GraphiteConfig[src]
fn clone(&self) -> GraphiteConfigReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for GraphiteConfig[src]
impl Default for GraphiteConfigfn default() -> GraphiteConfig[src]
fn default() -> GraphiteConfigReturns the "default value" for a type. Read more
impl From<GraphiteConfig> for TCPConfig[src]
impl From<GraphiteConfig> for TCPConfigfn from(item: GraphiteConfig) -> Self[src]
fn from(item: GraphiteConfig) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for GraphiteConfig
impl Send for GraphiteConfigimpl Sync for GraphiteConfig
impl Sync for GraphiteConfig