pub struct InMemoryConfig {
pub max_queue_size: usize,
pub enable_persistence: bool,
pub max_delivery_count: u32,
pub default_message_ttl: Option<Duration>,
pub enable_dead_letter_queue: bool,
pub session_lock_duration: Duration,
}Expand description
In-memory provider configuration
Fields§
§max_queue_size: usize§enable_persistence: bool§max_delivery_count: u32§default_message_ttl: Option<Duration>§enable_dead_letter_queue: bool§session_lock_duration: DurationTrait Implementations§
Source§impl Clone for InMemoryConfig
impl Clone for InMemoryConfig
Source§fn clone(&self) -> InMemoryConfig
fn clone(&self) -> InMemoryConfig
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 InMemoryConfig
impl Debug for InMemoryConfig
Source§impl Default for InMemoryConfig
impl Default for InMemoryConfig
Source§impl<'de> Deserialize<'de> for InMemoryConfig
impl<'de> Deserialize<'de> for InMemoryConfig
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 InMemoryConfig
impl RefUnwindSafe for InMemoryConfig
impl Send for InMemoryConfig
impl Sync for InMemoryConfig
impl Unpin for InMemoryConfig
impl UnsafeUnpin for InMemoryConfig
impl UnwindSafe for InMemoryConfig
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