Struct smtp_server::protocol::Smtp
source · [−]pub struct Smtp;
Trait Implementations
sourceimpl<'resp> Protocol<'resp> for Smtp
impl<'resp> Protocol<'resp> for Smtp
type HandleMailReturnType = Decision<()>
const PROTOCOL: ProtocolName
fn handle_mail_return_type_as_stream(
resp: Self::HandleMailReturnType
) -> Pin<Box<dyn Stream<Item = Decision<()>> + Send + 'resp>>
Auto Trait Implementations
impl RefUnwindSafe for Smtp
impl Send for Smtp
impl Sync for Smtp
impl Unpin for Smtp
impl UnwindSafe for Smtp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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