mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 21:29:24 +08:00
16 lines
395 B
Rust
16 lines
395 B
Rust
//! Module related to IMAP handling.
|
|
//!
|
|
//! This module gathers all IMAP handlers triggered by the CLI.
|
|
|
|
use anyhow::Result;
|
|
|
|
use crate::backends::ImapBackend;
|
|
|
|
pub fn notify(keepalive: u64, mbox: &str, imap: &mut ImapBackend) -> Result<()> {
|
|
imap.notify(keepalive, mbox)
|
|
}
|
|
|
|
pub fn watch(keepalive: u64, mbox: &str, imap: &mut ImapBackend) -> Result<()> {
|
|
imap.watch(keepalive, mbox)
|
|
}
|