pub struct Egress { /* private fields */ }Expand description
Defines an outbound path for messages being sent into a RabbitMQ cluster.
Note, that the exchange is just a string name and not a full-fledged
Exchange definition. This is because the exchange is only referenced
by name on the outbound side. The responsibility for declaring an exchange is
entirely on the inbound side.
Implementations§
Source§impl Egress
impl Egress
Sourcepub fn builder() -> EgressBuilder
pub fn builder() -> EgressBuilder
Creates a new EgressBuilder.
Source§impl Egress
impl Egress
Sourcepub fn routing_key(&self) -> &str
pub fn routing_key(&self) -> &str
Reports the egress routing key for this definition.
Sourcepub fn confirmation(&self) -> ConfirmationLevel
pub fn confirmation(&self) -> ConfirmationLevel
Reports the egress confirmation level for this definition.
Sourcepub fn force_durable(&self) -> bool
pub fn force_durable(&self) -> bool
Reports the egress force_durable flag for this definition.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Egress
impl<'de> Deserialize<'de> for Egress
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Egress
impl StructuralPartialEq for Egress
Auto Trait Implementations§
impl Freeze for Egress
impl RefUnwindSafe for Egress
impl Send for Egress
impl Sync for Egress
impl Unpin for Egress
impl UnwindSafe for Egress
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