Struct vomit_sync::SyncOptions
source · [−]pub struct SyncOptions {
pub local: String,
pub remote: String,
pub user: String,
pub password: String,
pub threads: u8,
}Expand description
A set of options to control the synchronization process
Fields
local: StringThe local maildir to sync to
remote: StringThe IMAPS URL to sync from
user: StringThe user for IMAP authentication
password: StringThe password for IMAP authentication
threads: u8The number of threads to use
Each thread will use it’s own IMAP session, so this must not be greater than the number of concurrent user sessions allowed by the IMAP server.
Trait Implementations
sourceimpl Clone for SyncOptions
impl Clone for SyncOptions
sourcefn clone(&self) -> SyncOptions
fn clone(&self) -> SyncOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for SyncOptions
impl Send for SyncOptions
impl Sync for SyncOptions
impl Unpin for SyncOptions
impl UnwindSafe for SyncOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more