rs-notifier 0.1.1

rust social application notification
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

pub trait Notifier {
    type body;
    /// notify
    fn notify(&self, msg:&str) -> Result<(), String>;
    /// notify body build
    fn bodybuild(&self, message: &str)-> Self::body;
}