Struct cernan::source::NativeServerConfig[][src]

pub struct NativeServerConfig {
    pub ip: String,
    pub port: u16,
    pub forwards: Vec<String>,
    pub config_path: Option<String>,
}

The native source

This source is the pair to the native sink. The native source/sink use or consume cernan's native protocol, defined resources/protobufs/native.proto. Clients may use the native protocol without having to obey the translation required in other sources or operators may set up cernan to cernan communication. Configuration for the native source

Fields

The IP address the native source will bind to.

The port the source will listen on.

The forwards for the native source to send its Telemetry along.

The unique name for the source in the routing topology.

Trait Implementations

impl Debug for NativeServerConfig
[src]

Formats the value using the given formatter. Read more

impl Clone for NativeServerConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for NativeServerConfig
[src]

Returns the "default value" for a type. Read more

impl From<NativeServerConfig> for TCPConfig
[src]

Performs the conversion.

Auto Trait Implementations