pub struct SmtpRawCommand<'a> {
pub line: Cow<'a, str>,
}Expand description
An arbitrary raw SMTP command line, without the trailing CRLF.
Fields§
§line: Cow<'a, str>The command line to send; CRLF is appended on serialisation.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SmtpRawCommand<'a>
impl<'a> RefUnwindSafe for SmtpRawCommand<'a>
impl<'a> Send for SmtpRawCommand<'a>
impl<'a> Sync for SmtpRawCommand<'a>
impl<'a> Unpin for SmtpRawCommand<'a>
impl<'a> UnsafeUnpin for SmtpRawCommand<'a>
impl<'a> UnwindSafe for SmtpRawCommand<'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
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.