File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -840,7 +840,7 @@ impl Future for MailboxServerHandle {
840
840
841
841
/// Serve a port on the provided [`channel::Rx`]. This dispatches all
842
842
/// channel messages directly to the port.
843
- pub trait MailboxServer : MailboxSender + Sized + ' static {
843
+ pub trait MailboxServer : MailboxSender + Clone + Sized + ' static {
844
844
/// Serve the provided port on the given channel on this sender on
845
845
/// a background task which may be joined with the returned handle.
846
846
/// The task fails on any send error.
@@ -887,7 +887,7 @@ pub trait MailboxServer: MailboxSender + Sized + 'static {
887
887
}
888
888
}
889
889
890
- impl < T : MailboxSender + Sized + Sync + Send + ' static > MailboxServer for T { }
890
+ impl < T : MailboxSender + Clone + Sized + Sync + Send + ' static > MailboxServer for T { }
891
891
892
892
/// A mailbox server client that transmits messages on a Tx channel.
893
893
#[ derive( Debug ) ]
You can’t perform that action at this time.
0 commit comments