mirror of
https://codeberg.org/steam-vent/proto.git
synced 2026-06-03 18:24:07 +02:00
Merge pull request 'Move GCHandshake trait to proto-common' (#1) from zargovv/proto:main into main
Reviewed-on: https://codeberg.org/steam-vent/proto/pulls/1
This commit is contained in:
commit
926012e286
1 changed files with 10 additions and 0 deletions
|
|
@ -103,3 +103,13 @@ pub trait JobMultiple {
|
|||
/// If the job has completed
|
||||
fn completed(&self) -> bool;
|
||||
}
|
||||
|
||||
pub trait GCHandshake {
|
||||
type Hello: RpcMessageWithKind + Send;
|
||||
|
||||
type Welcome: RpcMessageWithKind + Send;
|
||||
|
||||
fn app_id(&self) -> u32;
|
||||
|
||||
fn hello(&self) -> Self::Hello;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue