pub struct PulsarPublish;Expand description
The publish policy for PulsarPublisher: pure declaration, constructible anywhere,
paired with the connected broker by the runtime after connect.
§Examples
use ruststream_pulsar::PulsarPublish;
let policy = PulsarPublish::default();Trait Implementations§
Source§impl Clone for PulsarPublish
impl Clone for PulsarPublish
Source§fn clone(&self) -> PulsarPublish
fn clone(&self) -> PulsarPublish
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 PulsarPublish
Source§impl Debug for PulsarPublish
impl Debug for PulsarPublish
Source§impl Default for PulsarPublish
impl Default for PulsarPublish
Source§fn default() -> PulsarPublish
fn default() -> PulsarPublish
Returns the “default value” for a type. Read more
Source§impl PublishPolicy<ConnectedPulsarBroker> for PulsarPublish
impl PublishPolicy<ConnectedPulsarBroker> for PulsarPublish
Source§type Live = PulsarPublisher
type Live = PulsarPublisher
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 PulsarPublish
impl RefUnwindSafe for PulsarPublish
impl Send for PulsarPublish
impl Sync for PulsarPublish
impl Unpin for PulsarPublish
impl UnsafeUnpin for PulsarPublish
impl UnwindSafe for PulsarPublish
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