pub struct IoError { /* private fields */ }Expand description
A failure that originated below SMTP, in the transport (TCP, TLS, the runtime’s socket API).
Adapter crates (e.g. wasm-smtp-cloudflare) convert their runtime-specific
errors into this type at the transport boundary. The conversion is lossy by
design: it preserves a human-readable message but discards the original
type, which keeps adapter-specific types out of the core public API.
Implementations§
Trait Implementations§
Source§impl Error for IoError
impl Error for IoError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for IoError
impl RefUnwindSafe for IoError
impl Send for IoError
impl Sync for IoError
impl Unpin for IoError
impl UnsafeUnpin for IoError
impl UnwindSafe for IoError
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