Struct riot_coap_handler_demos::ping::PingPool
source · pub struct PingPool { /* private fields */ }
Expand description
Container for a number of ping jobs
To make this run, the pool’s tick method needs to be called at regular intervals (at least
while its any_active_now
returns true), and any incoming ICMP responses need to be turned
over to its .received
method.
In parallel to that, the PingPool needs to be registered with a CoAP handler (see ping_tree).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PingPool
impl Send for PingPool
impl Sync for PingPool
impl Unpin for PingPool
impl UnwindSafe for PingPool
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