Skip to main content

EventDataRead

Trait EventDataRead 

Source
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§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl EventDataRead for String

Source§

impl<T> EventDataRead for Vec<T>
where T: EventDataRead,

Implementors§