pub struct Session { /* private fields */ }
Implementations
sourceimpl Session
impl Session
pub fn new(name: impl ToString) -> Self
pub fn get_answer(&mut self) -> Option<SessionControll>
pub fn push_back(&mut self, ctrl: SessionControll) -> &mut Self
pub fn controll(
&mut self,
ctrl: ServerControll
) -> ControllResult<ServerControll>
pub fn error_sending_data(&mut self) -> &mut Self
pub fn mail_queued(&mut self, result: QueueResult) -> &mut Self
pub fn mail_sending(&mut self, result: MailSendResult) -> &mut Self
pub fn rcpt_checked(&mut self, result: AcceptRecipientResult) -> &mut Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
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