pub struct LowpanICMPTest<'a, A: Alarm<'a>> {
alarm: &'a A,
test_counter: Cell<usize>,
icmp_sender: &'a dyn ICMP6Sender<'a>,
net_cap: &'static NetworkCapability,
}
Fields§
§alarm: &'a A
§test_counter: Cell<usize>
§icmp_sender: &'a dyn ICMP6Sender<'a>
§net_cap: &'static NetworkCapability
Implementations§
Source§impl<'a, A: Alarm<'a>> LowpanICMPTest<'a, A>
impl<'a, A: Alarm<'a>> LowpanICMPTest<'a, A>
pub fn new( alarm: &'a A, icmp_sender: &'a dyn ICMP6Sender<'a>, net_cap: &'static NetworkCapability, ) -> LowpanICMPTest<'a, A>
pub fn start(&self)
fn schedule_next(&self)
fn run_test_and_increment(&self)
fn num_tests(&self) -> usize
fn run_test(&self, test_id: usize)
fn ipv6_send_packet_test(&self)
unsafe fn send_ipv6_packet(&self)
fn send_next(&self)
Trait Implementations§
Source§impl<'a, A: Alarm<'a>> AlarmClient for LowpanICMPTest<'a, A>
impl<'a, A: Alarm<'a>> AlarmClient for LowpanICMPTest<'a, A>
Auto Trait Implementations§
impl<'a, A> !Freeze for LowpanICMPTest<'a, A>
impl<'a, A> !RefUnwindSafe for LowpanICMPTest<'a, A>
impl<'a, A> !Send for LowpanICMPTest<'a, A>
impl<'a, A> !Sync for LowpanICMPTest<'a, A>
impl<'a, A> Unpin for LowpanICMPTest<'a, A>
impl<'a, A> !UnwindSafe for LowpanICMPTest<'a, A>
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