u-siem 0.7.0

A framework for building custom SIEMs
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::fmt::{Error, Write};

pub trait Encoder {
    fn encode<W: Write>(
        &self,
        f: &mut W,
        name: &str,
        description: &str,
        help: bool,
    ) -> Result<(), Error>;
}