Struct email::sync::pool::SyncPoolContextBuilder
source · pub struct SyncPoolContextBuilder<L, R>where
L: BackendContextBuilder,
R: BackendContextBuilder,{
left_cache_builder: BackendBuilder<MaildirContextBuilder>,
left_builder: BackendBuilder<L>,
right_cache_builder: BackendBuilder<MaildirContextBuilder>,
right_builder: BackendBuilder<R>,
handler: Option<Arc<SyncEventHandler>>,
dry_run: bool,
folder_filter: Option<FolderSyncStrategy>,
}Fields§
§left_cache_builder: BackendBuilder<MaildirContextBuilder>§left_builder: BackendBuilder<L>§right_cache_builder: BackendBuilder<MaildirContextBuilder>§right_builder: BackendBuilder<R>§handler: Option<Arc<SyncEventHandler>>§dry_run: bool§folder_filter: Option<FolderSyncStrategy>Implementations§
source§impl<L, R> SyncPoolContextBuilder<L, R>where
L: BackendContextBuilder,
R: BackendContextBuilder,
impl<L, R> SyncPoolContextBuilder<L, R>where
L: BackendContextBuilder,
R: BackendContextBuilder,
pub fn new( left_cache_builder: BackendBuilder<MaildirContextBuilder>, left_builder: BackendBuilder<L>, right_cache_builder: BackendBuilder<MaildirContextBuilder>, right_builder: BackendBuilder<R>, handler: Option<Arc<SyncEventHandler>>, dry_run: bool, folder_filter: Option<FolderSyncStrategy> ) -> Self
Trait Implementations§
source§impl<L, R> Clone for SyncPoolContextBuilder<L, R>
impl<L, R> Clone for SyncPoolContextBuilder<L, R>
source§fn clone(&self) -> SyncPoolContextBuilder<L, R>
fn clone(&self) -> SyncPoolContextBuilder<L, R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<L, R> ThreadPoolContextBuilder for SyncPoolContextBuilder<L, R>where
L: BackendContextBuilder,
R: BackendContextBuilder,
impl<L, R> ThreadPoolContextBuilder for SyncPoolContextBuilder<L, R>where
L: BackendContextBuilder,
R: BackendContextBuilder,
§type Context = SyncPoolContext<<L as BackendContextBuilder>::Context, <R as BackendContextBuilder>::Context>
type Context = SyncPoolContext<<L as BackendContextBuilder>::Context, <R as BackendContextBuilder>::Context>
The context built by this trait.
Auto Trait Implementations§
impl<L, R> Freeze for SyncPoolContextBuilder<L, R>
impl<L, R> !RefUnwindSafe for SyncPoolContextBuilder<L, R>
impl<L, R> Send for SyncPoolContextBuilder<L, R>
impl<L, R> Sync for SyncPoolContextBuilder<L, R>
impl<L, R> Unpin for SyncPoolContextBuilder<L, R>
impl<L, R> !UnwindSafe for SyncPoolContextBuilder<L, R>
Blanket Implementations§
source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
source§impl<T> ConvUtil for T
impl<T> ConvUtil for T
source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
Approximate the subject to a given type with a specific scheme.