mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
ping: Document this module.
This commit is contained in:
parent
d6ae1fbfb7
commit
61644e5557
1 changed files with 7 additions and 1 deletions
|
@ -5,9 +5,15 @@
|
||||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
#![deny(missing_docs)]
|
||||||
|
|
||||||
use iq::IqGetPayload;
|
use iq::IqGetPayload;
|
||||||
|
|
||||||
generate_empty_element!(Ping, "ping", PING);
|
generate_empty_element!(
|
||||||
|
/// Represents a ping to the recipient, which must be answered with an
|
||||||
|
/// empty `<iq/>` or with an error.
|
||||||
|
Ping, "ping", PING
|
||||||
|
);
|
||||||
|
|
||||||
impl IqGetPayload for Ping {}
|
impl IqGetPayload for Ping {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue