Struct lapin::ConnectionProperties
source · pub struct ConnectionProperties {
pub locale: String,
pub client_properties: FieldTable,
pub executor: Option<Arc<dyn FullExecutor + Send + Sync>>,
pub reactor: Option<Arc<dyn Reactor + Send + Sync>>,
}
Fields§
§locale: String
§client_properties: FieldTable
§executor: Option<Arc<dyn FullExecutor + Send + Sync>>
§reactor: Option<Arc<dyn Reactor + Send + Sync>>
Implementations§
source§impl ConnectionProperties
impl ConnectionProperties
pub fn with_connection_name(self, connection_name: LongString) -> Self
pub fn with_executor<E: FullExecutor + Send + Sync + 'static>( self, executor: E ) -> Self
pub fn with_reactor<R: Reactor + Send + Sync + 'static>( self, reactor: R ) -> Self
Trait Implementations§
source§impl Clone for ConnectionProperties
impl Clone for ConnectionProperties
source§fn clone(&self) -> ConnectionProperties
fn clone(&self) -> ConnectionProperties
Returns a copy 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 moreAuto Trait Implementations§
impl !RefUnwindSafe for ConnectionProperties
impl Send for ConnectionProperties
impl Sync for ConnectionProperties
impl Unpin for ConnectionProperties
impl !UnwindSafe for ConnectionProperties
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