feat: Implement `UnwindSafe` for `EventListener`
This commit is contained in:
parent
c42dc40785
commit
3f0d516c80
|
@ -761,6 +761,9 @@ pin_project_lite::pin_project! {
|
|||
unsafe impl<T: Send> Send for EventListener<T> {}
|
||||
unsafe impl<T: Send> Sync for EventListener<T> {}
|
||||
|
||||
impl<T> core::panic::UnwindSafe for EventListener<T> {}
|
||||
impl<T> core::panic::RefUnwindSafe for EventListener<T> {}
|
||||
|
||||
impl<T> fmt::Debug for EventListener<T> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.debug_struct("EventListener")
|
||||
|
|
Loading…
Reference in New Issue