parsers: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
fa8b9ed199
commit
fd158d9a08
12 changed files with 114 additions and 101 deletions
|
|
@ -251,17 +251,19 @@ impl From<Transport> for Element {
|
|||
.into_iter()
|
||||
.map(Element::from)
|
||||
.collect::<Vec<_>>(),
|
||||
TransportPayload::Activated(cid) => vec![
|
||||
Element::builder("activated", ns::JINGLE_S5B)
|
||||
TransportPayload::Activated(cid) => {
|
||||
vec![Element::builder("activated", ns::JINGLE_S5B)
|
||||
.attr("cid", cid)
|
||||
.build()],
|
||||
TransportPayload::CandidateError => vec![
|
||||
Element::builder("candidate-error", ns::JINGLE_S5B)
|
||||
.build()],
|
||||
TransportPayload::CandidateUsed(cid) => vec![
|
||||
Element::builder("candidate-used", ns::JINGLE_S5B)
|
||||
.build()]
|
||||
}
|
||||
TransportPayload::CandidateError => {
|
||||
vec![Element::builder("candidate-error", ns::JINGLE_S5B).build()]
|
||||
}
|
||||
TransportPayload::CandidateUsed(cid) => {
|
||||
vec![Element::builder("candidate-used", ns::JINGLE_S5B)
|
||||
.attr("cid", cid)
|
||||
.build()],
|
||||
.build()]
|
||||
}
|
||||
TransportPayload::ProxyError => {
|
||||
vec![Element::builder("proxy-error", ns::JINGLE_S5B).build()]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue