Struct async_smtp::util::XText
source · pub struct XText<'a>(pub &'a str);
Expand description
Encode a string as xtext
xtext is defined in https://www.rfc-editor.org/rfc/rfc3461
Tuple Fields§
§0: &'a str
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for XText<'a>
impl<'a> RefUnwindSafe for XText<'a>
impl<'a> Send for XText<'a>
impl<'a> Sync for XText<'a>
impl<'a> Unpin for XText<'a>
impl<'a> UnwindSafe for XText<'a>
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