pub struct SMTPError { /* private fields */ }
Implementations§
Source§impl SMTPError
impl SMTPError
pub fn err_data_too_large() -> Self
pub fn err_auth_required() -> Self
pub fn err_auth_unsupported() -> Self
pub fn error(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SMTPError
impl RefUnwindSafe for SMTPError
impl Send for SMTPError
impl Sync for SMTPError
impl Unpin for SMTPError
impl UnwindSafe for SMTPError
Blanket Implementations§
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