pub struct PubSubPublish;Expand description
The publish policy for PubSubPublisher: pure declaration, constructible anywhere,
paired with the connected broker by the runtime after connect.
§Examples
use ruststream_gcp_pubsub::PubSubPublish;
let policy = PubSubPublish::default();Trait Implementations§
Source§impl Clone for PubSubPublish
impl Clone for PubSubPublish
Source§fn clone(&self) -> PubSubPublish
fn clone(&self) -> PubSubPublish
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PubSubPublish
Source§impl Debug for PubSubPublish
impl Debug for PubSubPublish
Source§impl Default for PubSubPublish
impl Default for PubSubPublish
Source§fn default() -> PubSubPublish
fn default() -> PubSubPublish
Returns the “default value” for a type. Read more
Source§impl PublishPolicy<ConnectedPubSubBroker> for PubSubPublish
impl PublishPolicy<ConnectedPubSubBroker> for PubSubPublish
Source§type Live = PubSubPublisher
type Live = PubSubPublisher
The live form this policy pairs into: a
Publisher for a leaf policy, or the live
wiring form for a combinator stack (a typed publisher over a policy pairs into the same
typed publisher over the live leaf).Auto Trait Implementations§
impl Freeze for PubSubPublish
impl RefUnwindSafe for PubSubPublish
impl Send for PubSubPublish
impl Sync for PubSubPublish
impl Unpin for PubSubPublish
impl UnsafeUnpin for PubSubPublish
impl UnwindSafe for PubSubPublish
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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