pub trait ReferenceNotifiersExt: ReferenceNotifiers {
// Provided method
fn unwrap_or_notify_with_new_reference_notifier<S: Send + Sync + 'static, O: Send, F: Send + Copy + 'static + FnOnce(S) -> O>(
primary: PrimaryRc<S>,
map: F,
) -> RemoveResourceResultWithContext<O, Self> { ... }
}
Expand description
An extension of ReferenceNotifiers
providing extra functionality.
Provided Methods§
sourcefn unwrap_or_notify_with_new_reference_notifier<S: Send + Sync + 'static, O: Send, F: Send + Copy + 'static + FnOnce(S) -> O>(
primary: PrimaryRc<S>,
map: F,
) -> RemoveResourceResultWithContext<O, Self>
fn unwrap_or_notify_with_new_reference_notifier<S: Send + Sync + 'static, O: Send, F: Send + Copy + 'static + FnOnce(S) -> O>( primary: PrimaryRc<S>, map: F, ) -> RemoveResourceResultWithContext<O, Self>
Object Safety§
This trait is not object safe.