fn replace_observer_owned(
        &mut self,
        observer: Box<Observer<Self::NotificationType>>,
    ) -> Result<(), SetObserverError> {
        self.clear_observer();
        self.set_observer_owned(observer)
    }
/// replace the observer with an owned (boxed) observer, equivalent to `clear_observer` followed by `set_observer`
replace the observer with an owned (boxed) observer, equivalent to `clear_observer` followed by `set_observer`
replace the observer with an owned ( boxed ) observer equivalent to ` clear_observer ` followed by ` set_observer `
fn replace_observer_owned(
        &mut self,
        observer: Box<Observer<Self::NotificationType>>,
    ) -> Result<(), SetObserverError> {
        self.clear_observer();
        self.set_observer_owned(observer)
    }
fn replace_observer_owned ( & mut self , observer : Box < Observer < Self :: NotificationType > > , ) -> Result < ( ) , SetObserverError > { self . clear_observer ( ) ; self . set_observer_owned ( observer ) }
replace the observer with an owned (boxed) observer, equivalent to `clear_observer` followed by `set_observer`
replace the observer with an owned ( boxed ) observer equivalent to ` clear_observer ` followed by ` set_observer `
&mut self
observer
Box<Observer<Self::NotificationType>>