pub struct QueueManagerFactory;Expand description
General Queue Manager interface wrapper
Implementations§
Source§impl QueueManagerFactory
impl QueueManagerFactory
Sourcepub async fn create(
driver: &str,
redis_url: Option<&str>,
prefix: Option<&str>,
concurrency: Option<usize>,
) -> Result<Box<dyn QueueInterface>>
pub async fn create( driver: &str, redis_url: Option<&str>, prefix: Option<&str>, concurrency: Option<usize>, ) -> Result<Box<dyn QueueInterface>>
Creates a queue manager instance based on the specified driver.
pub async fn create_sqs( config: SqsQueueConfig, ) -> Result<Box<dyn QueueInterface>>
pub async fn create_sns( config: SnsQueueConfig, ) -> Result<Box<dyn QueueInterface>>
Auto Trait Implementations§
impl Freeze for QueueManagerFactory
impl RefUnwindSafe for QueueManagerFactory
impl Send for QueueManagerFactory
impl Sync for QueueManagerFactory
impl Unpin for QueueManagerFactory
impl UnsafeUnpin for QueueManagerFactory
impl UnwindSafe for QueueManagerFactory
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