Use mail_certificate_checks configuration in imap.rs

This commit is contained in:
Alexander Krotov
2019-09-30 02:49:33 +03:00
parent b8ca7b1591
commit 063d989225
2 changed files with 30 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ use std::fmt;
use crate::context::Context;
use crate::error::Error;
#[derive(Debug, FromPrimitive)]
#[derive(Copy, Clone, Debug, FromPrimitive)]
#[repr(i32)]
pub enum CertificateChecks {
Automatic,