Trait EventDataRead

pub trait EventDataRead: Sized {
    type Reader: EventDataLineReader<Data = Self>;

    // Required method
    fn line_reader() -> Self::Reader;
}
Expand description

Trait that can be implemented for a custom data type that is to be read (by a client).

Required Associated Types§

type Reader: EventDataLineReader<Data = Self>

Required Methods§

fn line_reader() -> Self::Reader

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.

Implementors§