We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d441cd commit 9b82380Copy full SHA for 9b82380
concurrency/src/tasks/gen_server.rs
@@ -135,9 +135,9 @@ pub enum InitResult<G: GenServer> {
135
}
136
137
pub trait GenServer: Send + Sized {
138
- type CallMsg: Send + Sized;
139
- type CastMsg: Send + Sized;
140
- type OutMsg: Send + Sized;
+ type CallMsg: Send;
+ type CastMsg: Send;
+ type OutMsg: Send;
141
type Error: Debug + Send;
142
143
fn start(self) -> GenServerHandle<Self> {
0 commit comments