aboutsummaryrefslogtreecommitdiff
path: root/examples/async/interfaces/dog.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/async/interfaces/dog.rs')
-rw-r--r--examples/async/interfaces/dog.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/async/interfaces/dog.rs b/examples/async/interfaces/dog.rs
new file mode 100644
index 0000000..a6ed111
--- /dev/null
+++ b/examples/async/interfaces/dog.rs
@@ -0,0 +1,4 @@
+pub trait IDog: Send + Sync
+{
+ fn woof(&self);
+}