Struct ntex_amqp::server::Server[][src]

pub struct Server<Io, St, H, Ctl> { /* fields omitted */ }
Expand description

Server dispatcher factory

Implementations

Create server factory and provide handshake service

Provide connection configuration

Set max inbound frame size.

If max size is set to 0, size is unlimited. By default max size is set to 0

Set handshake timeout.

By default handshake timeuot is 5 seconds.

Set server connection disconnect timeout.

Defines a timeout for disconnect connection. If a disconnect procedure does not complete within this time, the connection get dropped.

To disable timeout set value to 0.

By default disconnect timeout is set to 3 seconds.

Set read/write buffer params

By default read buffer is 8kb, write buffer is 8kb

Service to call with control frames

Set service to execute for incoming links and create service factory

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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