Struct catapult::outputs::network::Network
[−]
[src]
pub struct Network { /* fields omitted */ }
Network output
- sends output on the network using UDP
catapult.conf
output { network { destination = "127.0.0.1" port = 12121 } }
Parameters
- destination: IP/name Destination
- port: Destination Port
Methods
impl Network
[src]
Trait Implementations
impl ConfigurableFilter for Network
[src]
fn human_name(&self) -> &str
fn mandatory_fields(&self) -> Vec<&str>
fn requires_fields(&self,
optional_config: &Option<HashMap<String, String>>,
required_fields: Vec<&str>)
optional_config: &Option<HashMap<String, String>>,
required_fields: Vec<&str>)
impl OutputProcessor for Network
[src]
fn start(&self,
rx: Receiver<String>,
config: &Option<HashMap<String, String>>)
-> Result<JoinHandle<()>, String>
rx: Receiver<String>,
config: &Option<HashMap<String, String>>)
-> Result<JoinHandle<()>, String>
fn handle_func(rx: Receiver<String>, oconfig: Option<HashMap<String, String>>)
fn invoke(&self,
rx: Receiver<String>,
config: &Option<HashMap<String, String>>,
handle_func: fn(_: Receiver<String>, _: Option<HashMap<String, String>>))
-> Result<JoinHandle<()>, String>
rx: Receiver<String>,
config: &Option<HashMap<String, String>>,
handle_func: fn(_: Receiver<String>, _: Option<HashMap<String, String>>))
-> Result<JoinHandle<()>, String>