agde::event

Trait IntoEvent

source
pub trait IntoEvent<S: ExtendVec + 'static = Vec<u8>> {
    // Required method
    fn into_ev(self, manager: &Manager) -> Event<S>;
}
Expand description

Helper trait to convert from *Event structs to Event.

Should not be implemented but used with Manager::process_event.

Required Methods§

source

fn into_ev(self, manager: &Manager) -> Event<S>

Converts self into an Event.

Implementors§

source§

impl IntoEvent for Create

source§

impl IntoEvent for Delete

source§

impl IntoEvent for Event

source§

impl<S: ExtendVec + 'static> IntoEvent<S> for Modify<S>