mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-14 19:55:03 +01:00
minor fixes
This commit is contained in:
parent
2be26f7e49
commit
beb2187cd6
3 changed files with 17 additions and 6 deletions
|
|
@ -46,7 +46,7 @@ pub struct Connection {
|
|||
pub id: ConnectionId,
|
||||
pub peer_addr: SocketAddr,
|
||||
pub global_data: GlobalData,
|
||||
pub channels: HashMap<u16, ChannelHandle>,
|
||||
pub channels: HashMap<ChannelNum, ChannelHandle>,
|
||||
pub exclusive_queues: Vec<Queue>,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ pub enum ProtocolError {
|
|||
ConException(#[from] ConException),
|
||||
#[error("{0}")]
|
||||
ChannelException(#[from] ChannelException),
|
||||
#[error("Connection must be closed")]
|
||||
CloseNow,
|
||||
#[error("Protocol negotiation failed")]
|
||||
ProtocolNegotiationFailed,
|
||||
#[error("Graceful connection closing requested")]
|
||||
GracefullyClosed,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue