feat(task): add task support (SEP-1686) (#536)
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
eeacd1375f
commit
621c9f619e
1 changed files with 1922 additions and 57 deletions
|
|
@ -41,6 +41,10 @@ pub enum RmcpError {
|
|||
error: Box<dyn std::error::Error + Send + Sync>,
|
||||
},
|
||||
// and cancellation shouldn't be an error?
|
||||
|
||||
// TODO: add more error variants as needed
|
||||
#[error("Task error: {0}")]
|
||||
TaskError(String),
|
||||
}
|
||||
|
||||
impl RmcpError {
|
||||
|
|
|
|||
Loading…
Reference in a new issue