one_ping

Function one_ping 

Source
async fn one_ping<R: Radio>(
    ctl: &mut Ctl<'_, R>,
    peer: &PeerConnection<LocalNode<MacHandle<'_, TokioPlatform<R, TokioFileCounterStore, TokioFileKeyValueStore>, IDENTITIES, PEERS, CHANNELS, ACKS, TX, FRAME, DUP>>>,
    bound: Option<&BoundChannel<MacHandle<'_, TokioPlatform<R, TokioFileCounterStore, TokioFileKeyValueStore>, IDENTITIES, PEERS, CHANNELS, ACKS, TX, FRAME, DUP>>>,
    args: &PingArgs,
    options: &SendOptions,
    pong: &Rc<RefCell<Option<PongMetadata>>>,
    expired: &Rc<RefCell<bool>>,
) -> Result<Reply>
where R::Error: Debug,
Expand description

Send one ping and wait out its deadline.