pub struct TapSubscription {
pub reader: Box<dyn TapReader>,
pub closer: Arc<dyn TapCloser>,
}Expand description
A reader and its independently held close signal.
Fields§
§reader: Box<dyn TapReader>The owned, blocking receive half.
closer: Arc<dyn TapCloser>The close signal, shareable with service teardown.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TapSubscription
impl !Sync for TapSubscription
impl !UnwindSafe for TapSubscription
impl Freeze for TapSubscription
impl Send for TapSubscription
impl Unpin for TapSubscription
impl UnsafeUnpin for TapSubscription
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