meli/melib/src/backends/maildir
Manos Pitsidianakis 819d993f11
melib/backends: replace watch() with watcher(), BackendWatcher trait
```
Return a [`Box<dyn BackendWatcher>`](BackendWatcher), to which you can
register the mailboxes you are interested in for updates and then
consume to spawn a watching `Future`.  The `Future` sends events to the
[`BackendEventConsumer`](BackendEventConsumer) supplied to the backend
in its constructor method.
```

Watching mailboxes for updates is more flexible now that you can
explicitly register mailboxes and set polling period.
2021-01-15 19:12:09 +02:00
..
backend.rs melib/backends: replace watch() with watcher(), BackendWatcher trait 2021-01-15 19:12:09 +02:00
stream.rs melib: fix bincode serialization 2020-11-09 00:40:32 +02:00
watch.rs melib/backends: replace watch() with watcher(), BackendWatcher trait 2021-01-15 19:12:09 +02:00