pub struct Pumped<B>(pub B);Expand description
A Holger box as the shared pump runs it: its health words, its product report, its own
twin review, and every order decoded by Holger’s kinds and run through Holger’s verbs. Holds
any handle to a HolgerBox (&b, Arc<dyn HolgerBox + Send + Sync>).
Tuple Fields§
§0: BTrait Implementations§
Source§impl<B, T> PumpBox for Pumped<B>
impl<B, T> PumpBox for Pumped<B>
Source§fn health(&self) -> BTreeMap<String, String>
fn health(&self) -> BTreeMap<String, String>
The box’s health words for
Fleet.Report (serving, data, serves_at, twin, epoch).Source§fn product_report(&self) -> Option<String>
fn product_report(&self) -> Option<String>
monetize_product::pull::ProductReport as JSON — the main that serves sends it.Source§fn own_review(&self) -> Option<String>
fn own_review(&self) -> Option<String>
A twin reviews itself on every report (G12): its review as JSON.
Auto Trait Implementations§
impl<B> Freeze for Pumped<B>where
B: Freeze,
impl<B> RefUnwindSafe for Pumped<B>where
B: RefUnwindSafe,
impl<B> Send for Pumped<B>where
B: Send,
impl<B> Sync for Pumped<B>where
B: Sync,
impl<B> Unpin for Pumped<B>where
B: Unpin,
impl<B> UnsafeUnpin for Pumped<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for Pumped<B>where
B: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request