pub struct RabbitMqConfig { /* private fields */ }Expand description
Represents the application-level configuration section that covers everything related to RabbitMQ connectivity:
- server URL and credentials (
Handle), - inbound message routing (
Ingress), - outbound message routing (
Egress).
This config comes with a custom Deserialize implementation, to support more
human-oriented textual configuration.
Implementations§
Source§impl RabbitMqConfig
impl RabbitMqConfig
Sourcepub fn default_handle(&self) -> &Handle
pub fn default_handle(&self) -> &Handle
Returns the default Handle for this configuration.
Sourcepub fn extra_handles(&self) -> &HandleCollection
pub fn extra_handles(&self) -> &HandleCollection
Returns the extra Handles for this configuration.
Sourcepub fn ingress(&self) -> &IngressLandscape
pub fn ingress(&self) -> &IngressLandscape
Returns the IngressLandscape for this configuration.
Sourcepub fn egress(&self) -> &EgressLandscape
pub fn egress(&self) -> &EgressLandscape
Returns the EgressLandscape for this configuration.
Trait Implementations§
Source§impl AsRef<RabbitMqConfig> for RabbitMqConfig
impl AsRef<RabbitMqConfig> for RabbitMqConfig
Source§fn as_ref(&self) -> &RabbitMqConfig
fn as_ref(&self) -> &RabbitMqConfig
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for RabbitMqConfig
impl Clone for RabbitMqConfig
Source§fn clone(&self) -> RabbitMqConfig
fn clone(&self) -> RabbitMqConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 RabbitMqConfig
impl Debug for RabbitMqConfig
Source§impl Default for RabbitMqConfig
impl Default for RabbitMqConfig
Source§fn default() -> RabbitMqConfig
fn default() -> RabbitMqConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RabbitMqConfig
impl<'de> Deserialize<'de> for RabbitMqConfig
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
Source§impl PartialEq for RabbitMqConfig
impl PartialEq for RabbitMqConfig
impl StructuralPartialEq for RabbitMqConfig
Auto Trait Implementations§
impl Freeze for RabbitMqConfig
impl RefUnwindSafe for RabbitMqConfig
impl Send for RabbitMqConfig
impl Sync for RabbitMqConfig
impl Unpin for RabbitMqConfig
impl UnwindSafe for RabbitMqConfig
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