pub(crate) struct List<T>(Mutex<Inner<T>>);Tuple Fields§
§0: Mutex<Inner<T>>libstd-based implementation uses a normal Muetx to secure the data.
Implementations§
Source§impl<T> List<T>
impl<T> List<T>
Sourcepub(crate) fn try_total_listeners(&self) -> Option<usize>
pub(crate) fn try_total_listeners(&self) -> Option<usize>
Get the total number of listeners without blocking.
Sourcepub(crate) fn total_listeners(&self) -> usize
pub(crate) fn total_listeners(&self) -> usize
Get the total number of listeners with blocking.
Auto Trait Implementations§
impl<T> !Freeze for List<T>
impl<T> RefUnwindSafe for List<T>
impl<T> !Send for List<T>
impl<T> !Sync for List<T>
impl<T> Unpin for List<T>
impl<T> UnwindSafe for List<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