Struct email::sync::pool::SyncPoolContext
source · pub struct SyncPoolContext<L: BackendContext, R: BackendContext> {
pub left_cache: Backend<MaildirContextSync>,
pub left: Backend<L>,
pub right_cache: Backend<MaildirContextSync>,
pub right: Backend<R>,
pub handler: Option<Arc<SyncEventHandler>>,
pub dry_run: bool,
pub folder_filter: Option<FolderSyncStrategy>,
}Fields§
§left_cache: Backend<MaildirContextSync>§left: Backend<L>§right_cache: Backend<MaildirContextSync>§right: Backend<R>§handler: Option<Arc<SyncEventHandler>>§dry_run: bool§folder_filter: Option<FolderSyncStrategy>Implementations§
source§impl<L: BackendContext, R: BackendContext> SyncPoolContext<L, R>
impl<L: BackendContext, R: BackendContext> SyncPoolContext<L, R>
pub fn matches_folder_filter(&self, folder: &str) -> bool
Trait Implementations§
impl<L: BackendContext, R: BackendContext> ThreadPoolContext for SyncPoolContext<L, R>
Auto Trait Implementations§
impl<L, R> Freeze for SyncPoolContext<L, R>
impl<L, R> !RefUnwindSafe for SyncPoolContext<L, R>
impl<L, R> Send for SyncPoolContext<L, R>
impl<L, R> Sync for SyncPoolContext<L, R>
impl<L, R> Unpin for SyncPoolContext<L, R>
impl<L, R> !UnwindSafe for SyncPoolContext<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.