pub struct ExpungeTask { /* private fields */ }
Expand description
Permanently removes messages containing the Deleted flag in their envelope.
Be aware that the returned vector can contain multiple time the same sequence number, depending on the server implementation style:
For example, if the last 5 messages in a 9-message mailbox are expunged, a “lower to higher” server will send five untagged EXPUNGE responses for message sequence number 5, whereas a “higher to lower server” will send successive untagged EXPUNGE responses for message sequence numbers 9, 8, 7, 6, and 5
Implementations§
Source§impl ExpungeTask
impl ExpungeTask
Trait Implementations§
Source§impl Clone for ExpungeTask
impl Clone for ExpungeTask
Source§fn clone(&self) -> ExpungeTask
fn clone(&self) -> ExpungeTask
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExpungeTask
impl Debug for ExpungeTask
Source§impl Default for ExpungeTask
impl Default for ExpungeTask
Source§fn default() -> ExpungeTask
fn default() -> ExpungeTask
Returns the “default value” for a type. Read more
Source§impl Task for ExpungeTask
impl Task for ExpungeTask
Source§fn command_body(&self) -> CommandBody<'static>
fn command_body(&self) -> CommandBody<'static>
Returns the
CommandBody
to issue for this task. Read moreSource§fn process_data(&mut self, data: Data<'static>) -> Option<Data<'static>>
fn process_data(&mut self, data: Data<'static>) -> Option<Data<'static>>
Process data response.
Source§fn process_tagged(self, status_body: StatusBody<'static>) -> Self::Output
fn process_tagged(self, status_body: StatusBody<'static>) -> Self::Output
Process command completion result response. Read more
Source§fn process_untagged(
&mut self,
status_body: StatusBody<'static>,
) -> Option<StatusBody<'static>>
fn process_untagged( &mut self, status_body: StatusBody<'static>, ) -> Option<StatusBody<'static>>
Process untagged response.
Source§fn process_continuation_request(
&mut self,
continuation: CommandContinuationRequest<'static>,
) -> Option<CommandContinuationRequest<'static>>
fn process_continuation_request( &mut self, continuation: CommandContinuationRequest<'static>, ) -> Option<CommandContinuationRequest<'static>>
Process command continuation request response.
Source§fn process_continuation_request_authenticate(
&mut self,
continuation: CommandContinuationRequest<'static>,
) -> Result<AuthenticateData<'static>, CommandContinuationRequest<'static>>
fn process_continuation_request_authenticate( &mut self, continuation: CommandContinuationRequest<'static>, ) -> Result<AuthenticateData<'static>, CommandContinuationRequest<'static>>
Process command continuation request response (during authenticate).
Auto Trait Implementations§
impl Freeze for ExpungeTask
impl RefUnwindSafe for ExpungeTask
impl Send for ExpungeTask
impl Sync for ExpungeTask
impl Unpin for ExpungeTask
impl UnwindSafe for ExpungeTask
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