diff options
author | Marcel Müller <m.mueller@ifm.com> | 2022-04-27 14:11:45 +0200 |
---|---|---|
committer | Marcel Müller <m.mueller@ifm.com> | 2022-04-27 14:11:45 +0200 |
commit | b921d1da603fdeac093fe832e99eb882ed77197f (patch) | |
tree | c80d784121b4f36e5f04c7972ef2721fad8ae188 /crates | |
parent | 4ef8eeaa4183e19499f476c499ff1f31a64ac0fa (diff) |
Update Message documentation
Signed-off-by: Marcel Müller <m.mueller@ifm.com>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/core/tedge_api/src/plugin.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/core/tedge_api/src/plugin.rs b/crates/core/tedge_api/src/plugin.rs index 0478223e..5c1dc254 100644 --- a/crates/core/tedge_api/src/plugin.rs +++ b/crates/core/tedge_api/src/plugin.rs @@ -422,15 +422,15 @@ impl From<HandleTypes> for HashSet<(&'static str, TypeId)> { } } -/// A thing that can be send around +/// An object that can be sent between [`Plugin`]s /// -/// This trait is a marker trait for all types that can be used as messages which can be send +/// This trait is a marker trait for all types that can be used as messages which can be sent /// between plugins in thin-edge. /// /// ## Note /// /// A message without the expectation of a reply can use the [`NoReply`](crate::message::NoReply) -/// type. +/// type for [`Message::Reply`]. pub trait Message: 'static + Send + std::fmt::Debug { /// The reply to this message type Reply: Message; |