Meta
This commit is contained in:
@@ -48,6 +48,8 @@ pub enum ServerMethod {
|
||||
hostname: String,
|
||||
},
|
||||
|
||||
Meta(ClientMeta),
|
||||
|
||||
Error {
|
||||
error: String,
|
||||
},
|
||||
@@ -64,6 +66,8 @@ impl Client {
|
||||
.await?;
|
||||
}
|
||||
|
||||
ServerMethod::Meta(meta) => {}
|
||||
|
||||
ServerMethod::Error { error } => {
|
||||
eprintln!("Client error: {error}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user