riot_wrappers::gcoap

Trait Handler

Source
pub trait Handler {
    // Required method
    fn handle(&mut self, pkt: PacketBuffer<'_>) -> isize;
}
Available on riot_module_gcoap only.

Required Methods§

Source

fn handle(&mut self, pkt: PacketBuffer<'_>) -> isize

Implementors§

Source§

impl<H> Handler for GcoapHandler<H>
where H: Handler,