Skip to content

Commit

Permalink
pairing: Derive "Debug" for PairingSessionData
Browse files Browse the repository at this point in the history
If used with tokio::sync::mpsc `SendError` requires PairingSessionData
to implement std::fmt::Debug. Clippy is complining about this.

Signed-off-by: Peter Neuroth <[email protected]>
  • Loading branch information
nepet committed Aug 19, 2024
1 parent edc14d0 commit 050e95e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/gl-client/src/pairing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ pub enum Error {
#[error("could not verify pairing data: {0}")]
VerifyPairingDataError(String),
}

#[derive(Debug)]
pub enum PairingSessionData {
PairingResponse(PairDeviceResponse),
PairingQr(String),
Expand Down

0 comments on commit 050e95e

Please sign in to comment.