Reconnection
This commit is contained in:
parent
e07ea9ea7e
commit
b910178f35
6 changed files with 32 additions and 25 deletions
|
|
@ -210,7 +210,7 @@ impl Community {
|
|||
for interactable in target_interactables.iter() {
|
||||
if interactable.get_name() == name {
|
||||
if interactable.get_codec() == "category" {
|
||||
return CommunicationValue::new(CommunicationType::error);
|
||||
return CommunicationValue::new(CommunicationType::error_internal);
|
||||
} else {
|
||||
// cannot move a value of type dyn Interactable the size of dyn Interactable cannot be statically determined (rustc E0161)
|
||||
return interactable.run_function(cv.clone()).await;
|
||||
|
|
@ -231,7 +231,7 @@ impl Community {
|
|||
.run_function(cv.clone())
|
||||
.await;
|
||||
} else {
|
||||
return CommunicationValue::new(CommunicationType::error);
|
||||
return CommunicationValue::new(CommunicationType::error_internal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue