pub struct Sub<E>where
E: Clone + 'static,{ /* private fields */ }Expand description
Event subscriber handle.
Event subscriber is the place for registering the event handlers.
The caller is free to clone the event subscriber, so that they can be easily distributed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<E> !RefUnwindSafe for Sub<E>
impl<E> !Send for Sub<E>
impl<E> !Sync for Sub<E>
impl<E> !UnwindSafe for Sub<E>
impl<E> Freeze for Sub<E>
impl<E> Unpin for Sub<E>
impl<E> UnsafeUnpin for Sub<E>where
Weak<Inner<E>>: UnsafeUnpin,
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