Trait coap::server::CoAPHandler
[−]
[src]
pub trait CoAPHandler: Sync + Send + Copy { fn handle(&self, _: CoAPRequest) -> Option<CoAPResponse>; }
Required Methods
fn handle(&self, _: CoAPRequest) -> Option<CoAPResponse>
Implementors
impl<F> CoAPHandler for F where
F: Fn(CoAPRequest) -> Option<CoAPResponse>,
F: Sync + Send + Copy,