This commit is contained in:
Barna Máté 2024-11-30 01:24:27 +01:00
parent 6b57e96e84
commit 3d90d6cb4a

View file

@ -357,6 +357,7 @@ pub trait RPCClientTask: Sized + Debug + DeserializeOwned {
type Result: Serialize + DeserializeOwned + Debug; type Result: Serialize + DeserializeOwned + Debug;
type ErroredResult: Serialize + DeserializeOwned + Debug; type ErroredResult: Serialize + DeserializeOwned + Debug;
/// A function to display the task /// A function to display the task
fn display(&self) -> String { fn display(&self) -> String {
format!("{:?}", self) format!("{:?}", self)