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