pub struct ThreadShutdownResponse { /* private fields */ }Expand description
The response received from a ThreadShutdownRequest
Implementations§
Source§impl ThreadShutdownResponse
impl ThreadShutdownResponse
pub fn new(id: u64, children: Vec<ThreadShutdownResponse>) -> Self
pub fn take_children(self) -> Vec<ThreadShutdownResponse>
pub fn children(&self) -> &[ThreadShutdownResponse]
pub fn thread_id(&self) -> u64
Trait Implementations§
Source§impl Clone for ThreadShutdownResponse
impl Clone for ThreadShutdownResponse
Source§fn clone(&self) -> ThreadShutdownResponse
fn clone(&self) -> ThreadShutdownResponse
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 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 for ThreadShutdownResponse
impl PartialEq for ThreadShutdownResponse
impl Eq for ThreadShutdownResponse
impl StructuralPartialEq for ThreadShutdownResponse
Auto Trait Implementations§
impl Freeze for ThreadShutdownResponse
impl RefUnwindSafe for ThreadShutdownResponse
impl Send for ThreadShutdownResponse
impl Sync for ThreadShutdownResponse
impl Unpin for ThreadShutdownResponse
impl UnwindSafe for ThreadShutdownResponse
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