Add Clone for Listener

This commit is contained in:
Aode (Lion) 2022-02-25 12:02:09 -06:00
parent dc141054a1
commit 41ff870128

View file

@ -169,3 +169,12 @@ impl<'a> Future for Listen<'a> {
Poll::Pending
}
}
impl Clone for Listener {
fn clone(&self) -> Self {
Self {
id: None,
state: Arc::clone(&self.state),
}
}
}