aerogramme/src/mail/mod.rs

21 lines
403 B
Rust
Raw Normal View History

2022-06-27 14:56:20 +00:00
pub mod mail_ident;
2022-06-29 11:16:58 +00:00
pub mod mailbox;
2022-06-27 14:56:20 +00:00
mod uidindex;
2022-06-29 11:41:05 +00:00
pub mod user;
2022-06-27 14:56:20 +00:00
2022-06-24 08:27:26 +00:00
use std::convert::TryFrom;
2022-05-19 10:14:06 +00:00
use anyhow::Result;
use k2v_client::K2vClient;
use rusoto_s3::S3Client;
2022-05-19 10:10:48 +00:00
use crate::bayou::Bayou;
2022-05-19 10:14:06 +00:00
use crate::cryptoblob::Key;
2022-05-19 10:10:48 +00:00
use crate::login::Credentials;
2022-06-27 14:56:20 +00:00
use crate::mail::mail_ident::*;
use crate::mail::uidindex::*;
2022-05-19 10:10:48 +00:00
2022-06-28 08:49:28 +00:00
// Internet Message Format
// aka RFC 822 - RFC 2822 - RFC 5322
pub struct IMF(Vec<u8>);