diff options
Diffstat (limited to 'src/utils.rs')
| -rw-r--r-- | src/utils.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.rs b/src/utils.rs new file mode 100644 index 0000000..77e6e5e --- /dev/null +++ b/src/utils.rs @@ -0,0 +1,6 @@ +pub trait NotmuchEnum { + type NotmuchT; + + fn from_notmuch_t(notmuch_t: Self::NotmuchT) -> Self; + fn to_notmuch_t(self) -> Self::NotmuchT; +} |
