mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-15 12:15:02 +01:00
formatting!
This commit is contained in:
parent
770762b920
commit
cae9683bd4
33 changed files with 147 additions and 87 deletions
|
|
@ -1,4 +1,5 @@
|
|||
use crate::{queue_worker::QueueTask, Result};
|
||||
use std::sync::{atomic::AtomicUsize, Arc};
|
||||
|
||||
use amqp_core::{
|
||||
amqp_todo,
|
||||
connection::Channel,
|
||||
|
|
@ -7,9 +8,10 @@ use amqp_core::{
|
|||
GlobalData,
|
||||
};
|
||||
use parking_lot::Mutex;
|
||||
use std::sync::{atomic::AtomicUsize, Arc};
|
||||
use tokio::sync::mpsc;
|
||||
|
||||
use crate::{queue_worker::QueueTask, Result};
|
||||
|
||||
pub fn declare(channel: Channel, queue_declare: QueueDeclare) -> Result<Method> {
|
||||
let QueueDeclare {
|
||||
queue: queue_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue