derive debug
This commit is contained in:
parent
dca67cb66e
commit
589542ec0b
|
@ -21,6 +21,7 @@ use crate::{
|
|||
ConnectionError, HomekitError,
|
||||
};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(super) struct AccessorySocket {
|
||||
socket: TcpStream,
|
||||
ip: String,
|
||||
|
@ -28,6 +29,7 @@ pub(super) struct AccessorySocket {
|
|||
socket_encryption: Option<SocketEncryption>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct SocketEncryption {
|
||||
controller_to_accessory_key: [u8; 32],
|
||||
controller_to_accessory_counter: u64,
|
||||
|
|
|
@ -60,6 +60,7 @@ impl PythonPairingData {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct DevicePairingData {
|
||||
accessory_pairing_id: String,
|
||||
accessory_ip: String,
|
||||
|
@ -69,6 +70,7 @@ struct DevicePairingData {
|
|||
ios_device_ltsk: [u8; 32],
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct DeviceConnection {
|
||||
pub accessories: HashMap<usize, Accessory>,
|
||||
discovered: MdnsDiscoveredList,
|
||||
|
|
Loading…
Reference in a new issue