pub struct RabbitMQConnectionFactory { /* private fields */ }
Expand description
Overarching Rabbit MQ Connection Factory
Implementations§
Source§impl RabbitMQConnectionFactory
Implementation of the Rabbit MQ Connection Factory
impl RabbitMQConnectionFactory
Implementation of the Rabbit MQ Connection Factory
Sourcepub fn create_connection(
&self,
credentials: Option<Credential>,
is_ssl: bool,
) -> Result<RabbitMQConnection, &'static str>
pub fn create_connection( &self, credentials: Option<Credential>, is_ssl: bool, ) -> Result<RabbitMQConnection, &'static str>
Create a RabbitMQ Connection
Sourcepub fn create_threadable_connection(
&self,
) -> Result<ThreadableRabbitMQConnection, &'static str>
pub fn create_threadable_connection( &self, ) -> Result<ThreadableRabbitMQConnection, &'static str>
Create a thread safe connection from the factory
Sourcepub fn new(conn_inf: AMQPConnectionInf) -> RabbitMQConnectionFactory
pub fn new(conn_inf: AMQPConnectionInf) -> RabbitMQConnectionFactory
Create a new object
Auto Trait Implementations§
impl Freeze for RabbitMQConnectionFactory
impl RefUnwindSafe for RabbitMQConnectionFactory
impl Send for RabbitMQConnectionFactory
impl Sync for RabbitMQConnectionFactory
impl Unpin for RabbitMQConnectionFactory
impl UnwindSafe for RabbitMQConnectionFactory
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