diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-14 11:06:38 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-14 11:06:38 +0800 |
| commit | 9285dd6839ee15fd1426b1014ebef39cec07ab68 (patch) | |
| tree | 2bb5284110cff32e9c81ae8234e83cef59d300e6 /src/client/connector.rs | |
| parent | 4259ab8d858bcbafe6a6c3f8d3be8979c61d80ac (diff) | |
httpconnector: impl ntfy
Diffstat (limited to 'src/client/connector.rs')
| -rw-r--r-- | src/client/connector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/connector.rs b/src/client/connector.rs index 88b1939..51b662a 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -17,7 +17,7 @@ pub(crate) trait Connection { // should use channel to notify update fn update(&self) -> Result<Self::Ok, Self::Err>; // None if no update(content is same) - fn ntfy(&self, data: String); + fn ntfy(&self, data: String) -> Result<Self::Ok, Self::Err>; fn is_prev(&mut self, str: &Self::Ok) -> bool; |
