pub struct ThreadShutdownResponse { /* private fields */ }Implementations§
source§impl ThreadShutdownResponse
impl ThreadShutdownResponse
pub fn new(id: usize, children: Vec<ThreadShutdownResponse>) -> Self
pub fn take_children(self) -> Vec<ThreadShutdownResponse>
pub fn children(&self) -> &[ThreadShutdownResponse]
pub fn thread_id(&self) -> usize
Trait Implementations§
source§impl Clone for ThreadShutdownResponse
impl Clone for ThreadShutdownResponse
source§fn clone(&self) -> ThreadShutdownResponse
fn clone(&self) -> ThreadShutdownResponse
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 ThreadShutdownResponse
impl Debug for ThreadShutdownResponse
source§impl<P> From<ThreadRequestResponse<P>> for ThreadShutdownResponsewhere
P: PoolItem,
impl<P> From<ThreadRequestResponse<P>> for ThreadShutdownResponsewhere 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<T> From<ThreadShutdownResponse> for ThreadRequestResponse<T>where
T: PoolItem,
impl<T> From<ThreadShutdownResponse> for ThreadRequestResponse<T>where T: PoolItem,
source§fn from(request: ThreadShutdownResponse) -> Self
fn from(request: ThreadShutdownResponse) -> Self
Converts to this type from the input type.
source§impl PartialEq<ThreadShutdownResponse> for ThreadShutdownResponse
impl PartialEq<ThreadShutdownResponse> for ThreadShutdownResponse
source§fn eq(&self, other: &ThreadShutdownResponse) -> bool
fn eq(&self, other: &ThreadShutdownResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.