summaryrefslogtreecommitdiff
path: root/src/client/connector.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/connector.rs')
-rw-r--r--src/client/connector.rs2
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;