Enum samotop::model::controll::ClientControll
source · Expand description
Represents the instructions towards the client side of the stream.
Variants
Shutdown
The stream should be shut down.
AcceptData(bool)
See ServerControll::ConfirmSwitchToData
Reply(SmtpReply)
Send an SMTP reply
Noop
Something got done, but we should call back again
Trait Implementations
sourceimpl Clone for ClientControll
impl Clone for ClientControll
sourcefn clone(&self) -> ClientControll
fn clone(&self) -> ClientControll
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for ClientControll
impl Send for ClientControll
impl Sync for ClientControll
impl Unpin for ClientControll
impl UnwindSafe for ClientControll
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