Struct mail_internals::bind::encoded_word::WriterWrapper
source · pub struct WriterWrapper<'a, 'b: 'a> { /* private fields */ }Implementations
sourceimpl<'a, 'b: 'a> WriterWrapper<'a, 'b>
impl<'a, 'b: 'a> WriterWrapper<'a, 'b>
pub fn new_with_charset(
charset: &'a SoftAsciiStr,
encoding: Encoding,
encoder: &'a mut EncodingWriter<'b>
) -> Self
pub fn new(encoding: Encoding, encoder: &'a mut EncodingWriter<'b>) -> Self
Trait Implementations
sourceimpl<'a, 'b: 'a> EncodedWordWriter for WriterWrapper<'a, 'b>
impl<'a, 'b: 'a> EncodedWordWriter for WriterWrapper<'a, 'b>
fn encoding(&self) -> Encoding
fn write_charset(&mut self)
fn write_ecw_seperator(&mut self)
fn write_char(&mut self, ch: SoftAsciiChar)
sourcefn max_payload_len(&self) -> usize
fn max_payload_len(&self) -> usize
Returns the maximal length of the paylod/encoded data Read more
fn write_ecw_start(&mut self)
fn write_ecw_end(&mut self)
fn start_next_encoded_word(&mut self)
fn write_str(&mut self, s: &SoftAsciiStr)
Auto Trait Implementations
impl<'a, 'b> RefUnwindSafe for WriterWrapper<'a, 'b>
impl<'a, 'b> Send for WriterWrapper<'a, 'b>
impl<'a, 'b> Sync for WriterWrapper<'a, 'b>
impl<'a, 'b> Unpin for WriterWrapper<'a, 'b>where
'b: 'a,
impl<'a, 'b> !UnwindSafe for WriterWrapper<'a, 'b>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more