[][src]Trait coap::server::CoAPHandler

pub trait CoAPHandler: Sync + Send + Copy {
    fn handle(&self, _: CoAPRequest) -> Option<CoAPResponse>;
}

Required methods

Loading content...

Implementors

impl<F> CoAPHandler for F where
    F: Fn(CoAPRequest) -> Option<CoAPResponse>,
    F: Sync + Send + Copy
[src]

Loading content...