Struct messaging_thread_pool::AddResponse
source · pub struct AddResponse { /* private fields */ }Expand description
This struct is returned in response to a request to add a pool item to the thread pool The success field indicates that the pool item was successfully constructed
Implementations§
Trait Implementations§
source§impl Clone for AddResponse
impl Clone for AddResponse
source§fn clone(&self) -> AddResponse
fn clone(&self) -> AddResponse
Returns a copy 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 AddResponse
impl Debug for AddResponse
source§impl<P> From<AddResponse> for ThreadRequestResponse<P>where
P: PoolItem,
impl<P> From<AddResponse> for ThreadRequestResponse<P>where
P: PoolItem,
source§fn from(response: AddResponse) -> Self
fn from(response: AddResponse) -> Self
Converts to this type from the input type.
source§impl<P> From<ThreadRequestResponse<P>> for AddResponsewhere
P: PoolItem,
impl<P> From<ThreadRequestResponse<P>> for AddResponsewhere
P: PoolItem,
source§fn from(response: ThreadRequestResponse<P>) -> Self
fn from(response: ThreadRequestResponse<P>) -> Self
Converts to this type from the input type.
source§impl PartialEq for AddResponse
impl PartialEq for AddResponse
source§fn eq(&self, other: &AddResponse) -> bool
fn eq(&self, other: &AddResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AddResponse
impl StructuralPartialEq for AddResponse
Auto Trait Implementations§
impl Freeze for AddResponse
impl RefUnwindSafe for AddResponse
impl Send for AddResponse
impl Sync for AddResponse
impl Unpin for AddResponse
impl UnwindSafe for AddResponse
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