Searched refs:bytes_written (Results 1 – 3 of 3) sorted by relevance
36 let mut bytes_written = 0; in marshal_to() localVariable39 bytes_written += n; in marshal_to()40 bytes_written += match self { in marshal_to()44 Ok(bytes_written) in marshal_to()
69 let bytes_written = channel_ack.marshal_to(&mut buf)?; in test_channel_ack_marshal() localVariable72 assert_eq!(bytes_written, channel_ack.marshal_size()); in test_channel_ack_marshal()
299 let bytes_written = channel_type.marshal_to(&mut buf)?; in test_channel_type_marshal() localVariable300 assert_eq!(bytes_written, channel_type.marshal_size()); in test_channel_type_marshal()433 let bytes_written = channel_open.marshal_to(&mut buf).unwrap(); in test_channel_open_marshal() localVariable436 assert_eq!(bytes_written, channel_open.marshal_size()); in test_channel_open_marshal()