pub struct SubscribeHandle<Type, Callback> { /* private fields */ }
Implementations§
Source§impl<Type, Callback> SubscribeHandle<Type, Callback>
impl<Type, Callback> SubscribeHandle<Type, Callback>
pub fn subscribe( &mut self, event_type: Type, callback: Callback, ) -> Send<'_, Sender<(Type, Callback)>, (Type, Callback)>
Auto Trait Implementations§
impl<Type, Callback> Freeze for SubscribeHandle<Type, Callback>
impl<Type, Callback> !RefUnwindSafe for SubscribeHandle<Type, Callback>
impl<Type, Callback> Send for SubscribeHandle<Type, Callback>
impl<Type, Callback> Sync for SubscribeHandle<Type, Callback>
impl<Type, Callback> Unpin for SubscribeHandle<Type, Callback>
impl<Type, Callback> !UnwindSafe for SubscribeHandle<Type, Callback>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more