pub struct ThreadTask { /* private fields */ }
Implementations§
Source§impl ThreadTask
impl ThreadTask
pub fn new( algorithm: ThreadingAlgorithm<'static>, search_criteria: Vec1<SearchKey<'static>>, ) -> Self
pub fn set_charset(&mut self, charset: Charset<'static>)
pub fn with_charset(self, charset: Charset<'static>) -> Self
pub fn set_uid(&mut self, uid: bool)
pub fn with_uid(self, uid: bool) -> Self
Trait Implementations§
Source§impl Clone for ThreadTask
impl Clone for ThreadTask
Source§fn clone(&self) -> ThreadTask
fn clone(&self) -> ThreadTask
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 ThreadTask
impl Debug for ThreadTask
Source§impl Task for ThreadTask
impl Task for ThreadTask
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 ThreadTask
impl RefUnwindSafe for ThreadTask
impl Send for ThreadTask
impl Sync for ThreadTask
impl Unpin for ThreadTask
impl UnwindSafe for ThreadTask
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