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