formatting fixup on easyamqp
This commit is contained in:
parent
67d0a276a3
commit
310309caf3
|
@ -84,7 +84,6 @@ pub struct BindQueueConfig {
|
||||||
/// queue if K = R.
|
/// queue if K = R.
|
||||||
pub routing_key: Option<String>,
|
pub routing_key: Option<String>,
|
||||||
|
|
||||||
|
|
||||||
/// If set, the server will not respond to the method. The client
|
/// If set, the server will not respond to the method. The client
|
||||||
/// should not wait for a reply method. If the server could not
|
/// should not wait for a reply method. If the server could not
|
||||||
/// complete the method it will raise a channel or connection
|
/// complete the method it will raise a channel or connection
|
||||||
|
@ -357,8 +356,7 @@ impl TypedWrappers for amqp::Channel {
|
||||||
fn declare_exchange(
|
fn declare_exchange(
|
||||||
&mut self,
|
&mut self,
|
||||||
config: ExchangeConfig,
|
config: ExchangeConfig,
|
||||||
) -> Result<amqp::protocol::exchange::DeclareOk, amqp::AMQPError>
|
) -> Result<amqp::protocol::exchange::DeclareOk, amqp::AMQPError> {
|
||||||
{
|
|
||||||
self.exchange_declare(
|
self.exchange_declare(
|
||||||
config.exchange,
|
config.exchange,
|
||||||
config.exchange_type.into(),
|
config.exchange_type.into(),
|
||||||
|
@ -375,8 +373,7 @@ impl TypedWrappers for amqp::Channel {
|
||||||
fn declare_queue(
|
fn declare_queue(
|
||||||
&mut self,
|
&mut self,
|
||||||
config: QueueConfig,
|
config: QueueConfig,
|
||||||
) -> Result<amqp::protocol::queue::DeclareOk, amqp::AMQPError>
|
) -> Result<amqp::protocol::queue::DeclareOk, amqp::AMQPError> {
|
||||||
{
|
|
||||||
self.queue_declare(
|
self.queue_declare(
|
||||||
config.queue,
|
config.queue,
|
||||||
config.passive,
|
config.passive,
|
||||||
|
@ -391,8 +388,7 @@ impl TypedWrappers for amqp::Channel {
|
||||||
fn bind_queue(
|
fn bind_queue(
|
||||||
&mut self,
|
&mut self,
|
||||||
config: BindQueueConfig,
|
config: BindQueueConfig,
|
||||||
) -> Result<amqp::protocol::queue::BindOk, amqp::AMQPError>
|
) -> Result<amqp::protocol::queue::BindOk, amqp::AMQPError> {
|
||||||
{
|
|
||||||
self.queue_bind(
|
self.queue_bind(
|
||||||
config.queue,
|
config.queue,
|
||||||
config.exchange,
|
config.exchange,
|
||||||
|
|
Loading…
Reference in a new issue