pub(crate) struct Listener<T> {
link: UnsafeCell<Link<T>>,
_pin: PhantomPinned,
}Fields§
§link: UnsafeCell<Link<T>>The inner link in the linked list.
§Safety
This can only be accessed while the central mutex is locked.
_pin: PhantomPinnedThis listener cannot be moved after being pinned.
Auto Trait Implementations§
impl<T> !Freeze for Listener<T>
impl<T> !RefUnwindSafe for Listener<T>
impl<T> !Send for Listener<T>
impl<T> !Sync for Listener<T>
impl<T> !Unpin for Listener<T>
impl<T> !UnwindSafe for Listener<T>
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