From 9401b79a02845211235d0b0eeac1e0af39c8b514 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 27 Dec 2021 12:30:06 +0100 Subject: [PATCH] parsers/extdisco: Document missing TODOs. --- parsers/src/extdisco.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/parsers/src/extdisco.rs b/parsers/src/extdisco.rs index e7e4f0b..2585269 100644 --- a/parsers/src/extdisco.rs +++ b/parsers/src/extdisco.rs @@ -24,18 +24,18 @@ generate_attribute!( ); generate_attribute!( - /// TODO + /// The underlying transport protocol to be used when communicating with the service. Transport, "transport", { - /// TODO + /// Use TCP as a transport protocol. Tcp => "tcp", - /// TODO + /// Use UDP as a transport protocol. Udp => "udp", } ); generate_attribute!( - /// TODO + /// The service type as registered with the XMPP Registrar. Type, "type", { /// A server that provides Session Traversal Utilities for NAT (STUN). Stun => "stun", @@ -46,7 +46,8 @@ generate_attribute!( ); generate_attribute!( - /// TODO + /// Username and password credentials are required and will need to be requested if not already + /// provided. Restricted, "restricted", bool