pub struct MessagingConfig {
pub mq_filename: String,
pub timeout_millis: u64,
}Expand description
Holds the configuration data for the messaging. The configuration is loaded from the .toml configuration file. This struct does not contain any implementation.
Fields§
§mq_filename: Stringfilename used for generating the message queue identifier
timeout_millis: u64timeout for receiving messages in milliseconds after each timeout, the application checks if a shutdown has been requested
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MessagingConfig
impl<'de> Deserialize<'de> for MessagingConfig
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
Auto Trait Implementations§
impl Freeze for MessagingConfig
impl RefUnwindSafe for MessagingConfig
impl Send for MessagingConfig
impl Sync for MessagingConfig
impl Unpin for MessagingConfig
impl UnwindSafe for MessagingConfig
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