falco_event::events

Trait EventToBytes

Source
pub trait EventToBytes {
    // Required method
    fn write<W: Write>(&self, writer: W) -> Result<()>;
}

Required Methods§

Source

fn write<W: Write>(&self, writer: W) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl EventToBytes for &[u8]

Source§

fn write<W: Write>(&self, writer: W) -> Result<()>

Implementors§