pub struct PamojaCoapServer { /* private fields */ }Expand description
An opaque handle to a CoAP server.
Connecting, subscribing, receiving, and disconnecting take the server one call at a time, and a receive holds it while it waits. Sending and counting observers go through the server’s publisher instead, so a command goes out while another thread waits for a reading.
Auto Trait Implementations§
impl !RefUnwindSafe for PamojaCoapServer
impl !UnwindSafe for PamojaCoapServer
impl Freeze for PamojaCoapServer
impl Send for PamojaCoapServer
impl Sync for PamojaCoapServer
impl Unpin for PamojaCoapServer
impl UnsafeUnpin for PamojaCoapServer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more