Enum vsmtp_common::transfer::error::LocalDelivery
pub enum LocalDelivery {
MailboxDoNotExist {
mailbox: String,
},
Other(String),
}Expand description
Error produced by local delivery method (Maildir / Mbox)
Variants§
Trait Implementations§
§impl Clone for LocalDelivery
impl Clone for LocalDelivery
§fn clone(&self) -> LocalDelivery
fn clone(&self) -> LocalDelivery
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 more§impl Debug for LocalDelivery
impl Debug for LocalDelivery
§impl<'de> Deserialize<'de> for LocalDelivery
impl<'de> Deserialize<'de> for LocalDelivery
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for LocalDelivery
impl Display for LocalDelivery
§impl Error for LocalDelivery
impl Error for LocalDelivery
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl From<LocalDelivery> for Variant
impl From<LocalDelivery> for Variant
§fn from(source: LocalDelivery) -> Self
fn from(source: LocalDelivery) -> Self
Converts to this type from the input type.