Implement better fmt::Debug for pdu::Builder.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-10-02 05:29:48 +00:00
1 parent 049defe977
commit eda45e445c
2 files changed
+45 -12

No files matched your search

+6 -1
View File
@@ -23,7 +23,12 @@ use super::RoomMutexGuard;
/// takes a roomid_mutex_state, meaning that only this function is able to
/// mutate the room state.
#[implement(super::Service)]
#[tracing::instrument(skip(self, state_lock), level = "debug", ret)]
#[tracing::instrument(
name = "build_and_append"
level = "debug",
skip(self, state_lock),
ret,
)]
pub async fn build_and_append_pdu(
&self,
pdu_builder: PduBuilder,