Struct netstack3_sync::rc::ArcNotifier
source · pub struct ArcNotifier<T>(/* private fields */);
Expand description
An implementation of Notifier
that stores the unwrapped data in a
Clone
type.
Useful for tests where completion assertions are possible and useful.
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for ArcNotifier<T>
impl<T: Clone> Clone for ArcNotifier<T>
source§fn clone(&self) -> ArcNotifier<T>
fn clone(&self) -> ArcNotifier<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for ArcNotifier<T>
impl<T: Debug> Debug for ArcNotifier<T>
Auto Trait Implementations§
impl<T> Freeze for ArcNotifier<T>
impl<T> RefUnwindSafe for ArcNotifier<T>
impl<T> Send for ArcNotifier<T>where
T: Send,
impl<T> Sync for ArcNotifier<T>where
T: Send,
impl<T> Unpin for ArcNotifier<T>
impl<T> UnwindSafe for ArcNotifier<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