summaryrefslogtreecommitdiff
path: root/nrf-softdevice
diff options
context:
space:
mode:
authorJacob Rosenthal <jacobrosenthal@gmail.com>2021-11-20 22:12:21 -0700
committerJacob Rosenthal <jacobrosenthal@gmail.com>2021-11-20 22:12:21 -0700
commit1d9e9ff82e713c2ecf6eb75eafc5a898692695ed (patch)
treed9d010d9510a789480bf936ee76a2ac87db9ea00 /nrf-softdevice
parent15a212d23ee1a9985f2d4f69f0b4f5f6c23559fc (diff)
downloadnrf-softdevice-1d9e9ff82e713c2ecf6eb75eafc5a898692695ed.zip
gatt traits: FromGattError impl everything
Diffstat (limited to 'nrf-softdevice')
-rw-r--r--nrf-softdevice/src/ble/gatt_traits.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nrf-softdevice/src/ble/gatt_traits.rs b/nrf-softdevice/src/ble/gatt_traits.rs
index 4b52a92..1916687 100644
--- a/nrf-softdevice/src/ble/gatt_traits.rs
+++ b/nrf-softdevice/src/ble/gatt_traits.rs
@@ -3,6 +3,7 @@ use core::mem;
use core::slice;
use heapless::{String, Vec};
+#[derive(Debug, PartialEq, Eq, Clone, Copy)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum FromGattError {
InvalidLength,