mirror of
https://github.com/Noratrieb/haesli.git
synced 2026-01-17 21:25:01 +01:00
more things
This commit is contained in:
parent
5d127eceee
commit
b6355f5e35
11 changed files with 129 additions and 122 deletions
|
|
@ -890,7 +890,7 @@ pub mod write {
|
|||
use amqp_core::methods::*;
|
||||
use std::io::Write;
|
||||
|
||||
pub fn write_method<W: Write>(method: Method, mut writer: W) -> Result<(), TransError> {
|
||||
pub fn write_method<W: Write>(method: &Method, mut writer: W) -> Result<(), TransError> {
|
||||
match method {
|
||||
Method::ConnectionStart(ConnectionStart {
|
||||
version_major,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue