move cmd off of grpc
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
pub mod callback;
|
||||
pub mod command;
|
||||
pub mod payload;
|
||||
pub mod telemetry_definition;
|
||||
pub mod telemetry_entry;
|
||||
@@ -28,7 +30,7 @@ pub trait RequestResponse: Into<RequestMessagePayload> {
|
||||
type Response: TryFrom<ResponseMessagePayload>;
|
||||
}
|
||||
|
||||
// pub trait RegisterCallback {
|
||||
// type Callback : TryFrom<ResponseMessagePayload>;
|
||||
// type Response : Into<RequestMessagePayload>;
|
||||
// }
|
||||
pub trait RegisterCallback: Into<RequestMessagePayload> {
|
||||
type Callback: TryFrom<ResponseMessagePayload>;
|
||||
type Response: Into<RequestMessagePayload>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user