pub struct FlowObserver(pub Arc<dyn Fn(&str) + Send + Sync>);Expand description
The callback FlowLedger::observe installs, with a Debug that says
only that it is there.
Tuple Fields§
§0: Arc<dyn Fn(&str) + Send + Sync>Trait Implementations§
Source§impl Clone for FlowObserver
impl Clone for FlowObserver
Auto Trait Implementations§
impl !RefUnwindSafe for FlowObserver
impl !UnwindSafe for FlowObserver
impl Freeze for FlowObserver
impl Send for FlowObserver
impl Sync for FlowObserver
impl Unpin for FlowObserver
impl UnsafeUnpin for FlowObserver
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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