feat: add progress notification handling and related structures (#282)
* feat: add progress notification handling and related structures also fix some lifetime bugs of tool macro * fix: fmt
This commit is contained in:
parent
893969ac77
commit
8e1490bcd8
1 changed files with 298 additions and 18 deletions
|
|
@ -165,3 +165,9 @@ impl IntoContents for String {
|
|||
vec![Content::text(self)]
|
||||
}
|
||||
}
|
||||
|
||||
impl IntoContents for () {
|
||||
fn into_contents(self) -> Vec<Content> {
|
||||
vec![]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue