pub struct TcpStreamThread {
pub stream_thread: Option<JoinHandle<()>>,
pub task_tx: Sender<Task>,
pub reader_rx: Receiver<Vec<u8>>,
pub readable_registration: Registration,
pub reader_events: Events,
/* private fields */
}
Fields§
§stream_thread: Option<JoinHandle<()>>
§task_tx: Sender<Task>
§reader_rx: Receiver<Vec<u8>>
§readable_registration: Registration
§reader_events: Events
Implementations§
Auto Trait Implementations§
impl !Freeze for TcpStreamThread
impl !RefUnwindSafe for TcpStreamThread
impl Send for TcpStreamThread
impl !Sync for TcpStreamThread
impl Unpin for TcpStreamThread
impl !UnwindSafe for TcpStreamThread
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