Struct atarashii_imap::Connection
[−]
[src]
pub struct Connection { /* fields omitted */ }
Methods
impl Connection
[src]
fn open_plain(
host: &str,
login: &str,
password: &str
) -> Result<Connection, Error>
host: &str,
login: &str,
password: &str
) -> Result<Connection, Error>
fn open_plain2(
host: &str,
login: &str,
password: &str,
port: u16
) -> Result<Connection, Error>
host: &str,
login: &str,
password: &str,
port: u16
) -> Result<Connection, Error>
fn open_secure(
host: &str,
login: &str,
password: &str
) -> Result<Connection, Error>
host: &str,
login: &str,
password: &str
) -> Result<Connection, Error>
fn open_secure2(
host: &str,
login: &str,
password: &str,
port: u16
) -> Result<Connection, Error>
host: &str,
login: &str,
password: &str,
port: u16
) -> Result<Connection, Error>
fn create(&mut self, mailbox_name: &str) -> Result<Response, Error>
fn delete(&mut self, mailbox_name: &str) -> Result<Response, Error>
fn rename(
&mut self,
current_name: &str,
new_name: &str
) -> Result<Response, Error>
&mut self,
current_name: &str,
new_name: &str
) -> Result<Response, Error>
fn subscribe(&mut self, mailbox_name: &str) -> Result<Response, Error>
fn unsubscribe(&mut self, mailbox_name: &str) -> Result<Response, Error>
fn close(&mut self) -> Result<Response, Error>
fn logout(&mut self) -> Result<Response, Error>
fn capability(&mut self) -> Result<Response, Error>
fn fetch(
&mut self,
seq_set: &str,
message_data_query: &str
) -> Result<Response, Error>
&mut self,
seq_set: &str,
message_data_query: &str
) -> Result<Response, Error>
fn copy(
&mut self,
seq_set: String,
mailbox_name: String
) -> Result<Response, Error>
&mut self,
seq_set: String,
mailbox_name: String
) -> Result<Response, Error>
fn list_all(&mut self) -> Result<Response, Error>
fn list_by_search_query(
&mut self,
search_pattern: &str
) -> Result<Response, Error>
&mut self,
search_pattern: &str
) -> Result<Response, Error>
fn list_by_folder_name(&mut self, folder_name: &str) -> Result<Response, Error>
fn list(
&mut self,
folder_name: &str,
search_pattern: &str
) -> Result<Response, Error>
&mut self,
folder_name: &str,
search_pattern: &str
) -> Result<Response, Error>
fn lsub(
&mut self,
folder_name: &str,
search_pattern: &str
) -> Result<Response, Error>
&mut self,
folder_name: &str,
search_pattern: &str
) -> Result<Response, Error>