aboutsummaryrefslogtreecommitdiff
path: root/src/igd_adapter.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-21 17:51:30 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-21 17:51:30 +0200
commit4da459ce8ba49f98084a8ce32f600470ff883ec5 (patch)
tree608f9e93ca740f76ab3d751103f99e8c9c991e32 /src/igd_adapter.rs
parentfeadc844c060ff0879d8d547807147ae2213fd13 (diff)
downloaddiplonat-4da459ce8ba49f98084a8ce32f600470ff883ec5.tar.gz
diplonat-4da459ce8ba49f98084a8ce32f600470ff883ec5.zip
Working on logic
Diffstat (limited to 'src/igd_adapter.rs')
-rw-r--r--src/igd_adapter.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/igd_adapter.rs b/src/igd_adapter.rs
new file mode 100644
index 0000000..3803d5f
--- /dev/null
+++ b/src/igd_adapter.rs
@@ -0,0 +1,12 @@
+use crate::*;
+use anyhow::Result;
+
+pub struct IgdAdapter {}
+impl adapter::Adapter for IgdAdapter {
+ fn new(&self, parent: &diplonat::Diplonat) -> Result<()> {
+ return Ok(());
+ }
+ fn run(&self) -> Result<()> {
+ return Ok(());
+ }
+}