pub struct ServerTxPublish(/* private fields */);Expand description
The server-transactional publish policy: same options as LapinPublish, pairing into
ServerTxPublisher.
Reached with LapinPublish::server_tx.
§Examples
use ruststream_lapin::LapinPublish;
let ledger = LapinPublish::default().exchange("ledger").server_tx();Implementations§
Trait Implementations§
Source§impl Clone for ServerTxPublish
impl Clone for ServerTxPublish
Source§fn clone(&self) -> ServerTxPublish
fn clone(&self) -> ServerTxPublish
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 moreSource§impl Debug for ServerTxPublish
impl Debug for ServerTxPublish
Source§impl Default for ServerTxPublish
impl Default for ServerTxPublish
Source§fn default() -> ServerTxPublish
fn default() -> ServerTxPublish
Returns the “default value” for a type. Read more
impl Eq for ServerTxPublish
Source§impl LapinPublishPolicy for ServerTxPublish
impl LapinPublishPolicy for ServerTxPublish
Source§fn bind(self, connected: &ConnectedLapinBroker) -> Self::Live
fn bind(self, connected: &ConnectedLapinBroker) -> Self::Live
Pairs the policy with the connected broker, producing the live publisher.
Source§impl PartialEq for ServerTxPublish
impl PartialEq for ServerTxPublish
Source§impl PublishPolicy<ConnectedLapinBroker> for ServerTxPublish
impl PublishPolicy<ConnectedLapinBroker> for ServerTxPublish
Source§type Live = ServerTxPublisher
type Live = ServerTxPublisher
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).impl StructuralPartialEq for ServerTxPublish
Auto Trait Implementations§
impl Freeze for ServerTxPublish
impl RefUnwindSafe for ServerTxPublish
impl Send for ServerTxPublish
impl Sync for ServerTxPublish
impl Unpin for ServerTxPublish
impl UnsafeUnpin for ServerTxPublish
impl UnwindSafe for ServerTxPublish
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