OnWireEvent

Trait OnWireEvent 

Source
pub trait OnWireEvent<H: AgentHook>: Widget {
    // Provided method
    fn on_wire(
        &mut self,
        _tag: &Self::Tag,
        _response: <H::Agent as Agent>::Output,
        _ctx: &mut Context<Self>,
    ) -> Result<(), Error> { ... }
}

Provided Methods§

Source

fn on_wire( &mut self, _tag: &Self::Tag, _response: <H::Agent as Agent>::Output, _ctx: &mut Context<Self>, ) -> Result<(), Error>

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§