pub struct DataEncoder { /* private fields */ }Expand description
Incremental SMTP DATA encoding: normalizes LF, CRLF and bare CR to CRLF and
dot-stuffs each line. State carries across DataEncoder::encode calls, so
a CR/LF pair or a line-leading . split between chunks encodes exactly as
it would in one piece.
Implementations§
Trait Implementations§
Source§impl Clone for DataEncoder
impl Clone for DataEncoder
Source§impl Debug for DataEncoder
impl Debug for DataEncoder
Auto Trait Implementations§
impl Forget for DataEncoder
impl Freeze for DataEncoder
impl RefUnwindSafe for DataEncoder
impl Send for DataEncoder
impl Sync for DataEncoder
impl Unpin for DataEncoder
impl UnsafeUnpin for DataEncoder
impl UnwindSafe for DataEncoder
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