pub struct ThreadChannel<T> { /* private fields */ }Expand description
A channel that processes messages in a dedicated thread 在专用线程中处理消息的通道
Implementations§
Trait Implementations§
impl<T> Send for ThreadChannel<T>
impl<T> Sync for ThreadChannel<T>
Auto Trait Implementations§
impl<T> Freeze for ThreadChannel<T>
impl<T> !RefUnwindSafe for ThreadChannel<T>
impl<T> Unpin for ThreadChannel<T>
impl<T> !UnwindSafe for ThreadChannel<T>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more