Struct ntex_amqp::Configuration [−][src]
pub struct Configuration {
pub max_frame_size: u32,
pub channel_max: usize,
pub idle_time_out: Milliseconds,
pub hostname: Option<ByteString>,
}
Expand description
Amqp1 transport configuration.
Fields
max_frame_size: u32
channel_max: usize
idle_time_out: Milliseconds
hostname: Option<ByteString>
Implementations
The channel-max value is the highest channel number that may be used on the Connection. This value plus one is the maximum number of Sessions that can be simultaneously active on the Connection.
By default channel max value is set to 1024
Set max frame size for the connection.
By default max size is set to 64kb
Get max frame size for the connection.
Set idle time-out for the connection in seconds.
By default idle time-out is set to 120 seconds
Set connection hostname
Hostname is not set by default
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl !UnwindSafe for Configuration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more