pub struct CallbackObserver<'cb, T, E> { /* private fields */ }Expand description
Observer implementation backed by user-provided callbacks.
Implementations§
Source§impl<'cb, T, E> CallbackObserver<'cb, T, E>
impl<'cb, T, E> CallbackObserver<'cb, T, E>
Trait Implementations§
Source§impl<T, E> Debug for CallbackObserver<'_, T, E>
impl<T, E> Debug for CallbackObserver<'_, T, E>
Source§impl<T, E> Observer<T, E> for CallbackObserver<'_, T, E>
impl<T, E> Observer<T, E> for CallbackObserver<'_, T, E>
Source§fn on_termination(self, termination: Termination<E>)
fn on_termination(self, termination: Termination<E>)
Called when the operation has reached its termination state.
Auto Trait Implementations§
impl<'cb, T, E> Freeze for CallbackObserver<'cb, T, E>
impl<'cb, T, E> !RefUnwindSafe for CallbackObserver<'cb, T, E>
impl<'cb, T, E> Send for CallbackObserver<'cb, T, E>
impl<'cb, T, E> Sync for CallbackObserver<'cb, T, E>
impl<'cb, T, E> Unpin for CallbackObserver<'cb, T, E>
impl<'cb, T, E> !UnwindSafe for CallbackObserver<'cb, T, E>
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