rnetmon/src/output.rs
2019-01-30 16:26:05 +01:00

7 lines
No EOL
115 B
Rust

use crate::message::Message;
pub trait Output {
fn new() -> Self;
fn on_message(&self, message: &Message);
}