pub struct AmqpConnectionOptions {
pub uri: String,
pub connect_timeout_millis: u64,
pub reconnect_millis: u64,
}Expand description
The connection options.
Fields§
§uri: StringConnection URI. Use amqp|amqps://username:password@host:port/vhost format.
Default is amqp://localhost/%2f.
connect_timeout_millis: u64Connection timeout in milliseconds.
Default or zero value is 3000.
reconnect_millis: u64Time in milliseconds from disconnection to reconnection.
Default or zero value is 1000.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AmqpConnectionOptions
impl RefUnwindSafe for AmqpConnectionOptions
impl Send for AmqpConnectionOptions
impl Sync for AmqpConnectionOptions
impl Unpin for AmqpConnectionOptions
impl UnwindSafe for AmqpConnectionOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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