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>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.