Skip to content

Commit 4a59ba6

Browse files
committed
feat(transfer): first two packets
1 parent d2fea9b commit 4a59ba6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

crates/protocol/src/packet/transfer.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
use bytes::BytesMut;
22
use tokio::io;
3+
use uuid::Uuid;
34
use crate::packet::{DeserializePacket, SerializePacket};
45

56
pub enum TransferPacketGuestToHost {
6-
7+
AcknowledgeObject {
8+
can_send: bool
9+
}
710
}
811

912
pub enum TransferPacketHostToGuest {
10-
13+
IdentifyObject {
14+
id: Uuid
15+
}
1116
}
1217

1318
impl SerializePacket for TransferPacketGuestToHost {

0 commit comments

Comments
 (0)